/* Native details + checkboxes keep the multi-team filter compact and keyboard accessible. */
.cb-studio-team-menu { position: relative; min-width: 0; font-size: 14px; }
.cb-studio-team-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 11px 12px; border: 1px solid #9cc3af40; border-radius: 9px; color: #e4f0e8; background: linear-gradient(#071419, #0a191c); box-shadow: inset 0 2px 5px #0002; list-style: none; cursor: pointer; }
.cb-studio-team-menu > summary::-webkit-details-marker { display: none; }
.cb-studio-team-menu[open] > summary { border-color: #70e9b291; background: linear-gradient(130deg, #1c4536, #102b26); }
.cb-studio-team-chevron { color: #94d9b8; font-size: 18px; line-height: 1; }
.cb-studio-team-menu[open] .cb-studio-team-chevron { transform: rotate(180deg); }
.cb-studio-team-options { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: min(350px, calc(100vw - 64px)); min-width: 100%; padding: 14px; border: 1px solid #8ceab85c; border-radius: 13px; background: linear-gradient(145deg, #15372d, #0b1e20); box-shadow: inset 0 1px #d6ffe724, 0 16px 38px #0009; }
.cb-studio-team-options-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 10px; border-bottom: 1px solid #a0d9ba24; color: #bed4c8; font-size: 11px; }
.cb-studio-team-options-heading button { min-height: 36px; padding: 4px; border: 0; background: none; color: #8bf4c4; font: inherit; font-weight: 650; cursor: pointer; }
.cb-studio-team-options-heading button:disabled { color: #819b8e; cursor: default; }
.cb-studio-team-options fieldset { margin: 8px 0 0; padding: 0; border: 0; max-height: min(300px, 45dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #42745e transparent; }
.cb-studio-team-option { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 8px; border-radius: 8px; color: #e4f2e9; font-size: 13px; cursor: pointer; }
.cb-studio-team-option:hover { background: #75e6ae0d; }
.cb-studio-team-option:has(input:checked) { background: #54edb018; box-shadow: inset 0 0 0 1px #7ce8ad30; }
.cb-studio-filters .cb-studio-team-option input[type="checkbox"] { appearance: none; display: grid; place-content: center; box-sizing: border-box; flex: 0 0 14px; width: 14px; height: 14px; min-height: 0; margin: 0; padding: 0; border: 1px solid #739e8c; border-radius: 4px; background: #091e19; box-shadow: inset 0 1px 2px #0003; accent-color: #57efbb; cursor: pointer; }
.cb-studio-filters .cb-studio-team-option input[type="checkbox"]::before { content: ""; width: 7px; height: 4px; border-left: 2px solid #083d2c; border-bottom: 2px solid #083d2c; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.cb-studio-filters .cb-studio-team-option input[type="checkbox"]:checked { border-color: #82f5c4; background: linear-gradient(135deg, #9cf8ce, #42dca0); box-shadow: inset 0 1px #d9ffed80, 0 0 7px #58efb321; }
.cb-studio-filters .cb-studio-team-option input[type="checkbox"]:checked::before { opacity: 1; }
.cb-studio-filters .cb-studio-team-option input[type="checkbox"]:focus-visible { outline: 2px solid #91f4c5; outline-offset: 3px; }
.cb-studio-team-option .cb-squad-team-logo { width: 25px; height: 25px; flex: 0 0 25px; font-size: 8px; }
.cb-studio-team-option .cb-squad-team-logo img { width: 23px; height: 23px; object-fit: contain; }
.cb-studio-team-option > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.cb-studio-team-help { margin: 12px 4px 0; color: #abc7b7; font-size: 11px; }
.cb-studio-team-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 22px 14px; }
.cb-studio-team-chips[hidden] { display: none; }
.cb-studio-team-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid #80ebaf45; border-radius: 8px; color: #bcf8d5; background: linear-gradient(130deg, #23533f, #11342c); font: inherit; font-size: 11px; cursor: pointer; }
.cb-studio-team-chip > span:first-child { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.cb-studio-team-chip > span:last-child { font-size: 18px; line-height: 1; color: #9cd2b4; }
.cb-studio-team-chip:hover { border-color: #96f8c78c; background: #25553f; }
.cb-studio-filter-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: -2px 22px 14px; }
.cb-studio-next-teams { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 10px; border: 1px solid #79cfa53f; border-radius: 7px; color: #a7f4cc; background: #1b45352e; font: inherit; font-size: 11px; cursor: pointer; }
.cb-studio-next-teams:hover:not(:disabled) { border-color: #96f8c78c; background: #25553f; }
.cb-studio-next-teams:disabled { opacity: .5; cursor: not-allowed; }
.cb-studio-filter-shortcuts > span { color: #a9c4b5; font-size: 10px; }
@media (forced-colors: active) {
  .cb-studio-filters .cb-studio-team-option input[type="checkbox"] { appearance: auto; box-shadow: none; }
  .cb-studio-filters .cb-studio-team-option input[type="checkbox"]::before { display: none; }
}
@media (max-width: 1000px) {
  .cb-studio-team-chips, .cb-studio-filter-shortcuts { margin-inline: 14px; }
}
@media (max-width: 640px) {
  .cb-studio-team-menu > summary { min-height: 46px; padding-inline: 10px; font-size: 13px; }
  .cb-studio-team-option { min-height: 48px; }
  .cb-studio-team-chip { min-height: 44px; }
}
