/* Teamduell, approved 17.10.2026. Wrappers preserve desktop geometry. */
body.wp-excellence #player-results .shared-match-card .match-calendar-badge,
body.wp-excellence #player-results .shared-match-card .match-mobile-label,
body.wp-excellence #player-results .shared-match-card .match-hint-mobile,
body.wp-excellence #player-results .shared-match-card .match-team > header { display:none; }
body.wp-excellence #player-results .shared-match-card .match-level-block,
body.wp-excellence #player-results .shared-match-card .match-details,
body.wp-excellence #player-results .shared-match-card .match-team { display:contents; }
body.wp-excellence #player-results .shared-match-card .match-place-name { font-weight:inherit; color:inherit; }

@media (max-width:760px) {
  body.wp-excellence #player-results .shared-match-card .match-hint-desktop { display:none; }
  body.wp-excellence #player-results .shared-match-card .match-hint-mobile { display:inline; }
  /* Match the search/filter panel's outer gutter; retain compact card padding. */
  html.wp-mobile-results-first body.wp-excellence main.players-layout > .trainer-results-panel:has(#player-results) {
    margin-inline:14px!important; width:calc(100% - 28px)!important; padding:16px 12px!important;
    border-inline:0; border-radius:0; background:transparent; box-shadow:none;
  }
  body.wp-excellence #player-results { gap:12px; }
  body.wp-excellence #player-results .shared-match-card {
    box-sizing:border-box; min-width:0; margin:0; padding:14px;
    border:1px solid #dce4e9; border-radius:16px; background:#fff; box-shadow:0 3px 14px #16273908;
  }
  body.wp-excellence #player-results .shared-match-card::before { display:none; }
  body.wp-excellence #player-results .shared-match-card .group-match-top {
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px 8px;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-top > div,
  body.wp-excellence #player-results .shared-match-card .shared-match-info { display:contents; }
  body.wp-excellence #player-results .shared-match-card .group-match-top > div > small {
    grid-column:1; grid-row:1; min-width:0; color:#5c6a7b;
    font-size:11px; line-height:1.4; font-weight:600; letter-spacing:.03em; text-transform:none;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-availability {
    grid-column:2; grid-row:1; justify-self:end; align-self:start;
    padding:3px 7px; border:0; border-radius:6px; background:#e8f5f2; color:#007f83;
    font-size:11px; font-weight:650; line-height:1.4; white-space:nowrap;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-availability.is-unavailable { background:#f0f3f5; color:#657181; }
  body.wp-excellence #player-results .shared-match-card .match-place {
    grid-column:1 / -1; grid-row:2; display:block; min-width:0; margin:0 0 3px;
    font-size:12px; line-height:1.45; overflow-wrap:anywhere;
  }
  body.wp-excellence #player-results .shared-match-card .match-place-name {
    display:block; color:#202a39; font-size:15px; font-weight:650; line-height:1.4; letter-spacing:-.01em;
  }
  body.wp-excellence #player-results .shared-match-card .match-place-address,
  body.wp-excellence #player-results .shared-match-card .match-place-region { display:block; margin-top:2px; color:#5c6a7b; font-size:12px; line-height:1.45; }
  body.wp-excellence #player-results .shared-match-card .group-match-top h4 {
    grid-column:1 / -1; grid-row:3; display:block; min-width:0; margin:0;
    color:#202a39; font-size:17px; line-height:1.3; font-weight:700; letter-spacing:-.025em;
  }
  body.wp-excellence #player-results .shared-match-card .match-schedule-copy { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 10px; }
  body.wp-excellence #player-results .shared-match-card .match-schedule-date,
  body.wp-excellence #player-results .shared-match-card .match-schedule-time { margin:0; color:inherit; font-size:17px; font-weight:700; line-height:1.3; letter-spacing:inherit; white-space:nowrap; }
  body.wp-excellence #player-results .shared-match-card .match-schedule-separator,
  body.wp-excellence #player-results .shared-match-card .shared-match-separator,
  body.wp-excellence #player-results .shared-match-card .match-place-separator { display:none; }
  body.wp-excellence #player-results .shared-match-card .match-details {
    grid-column:1 / -1; grid-row:4; display:flex; flex-wrap:wrap; align-items:baseline;
    gap:5px 10px; min-width:0; margin:0; color:#5c6a7b; font-size:12px; line-height:1.45;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-field-inline { min-width:0; color:#5c6a7b; font-size:12px; font-weight:400; white-space:normal; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .match-court .match-fact-label,
  body.wp-excellence #player-results .shared-match-card .match-sought .match-fact-label { display:none; }
  body.wp-excellence #player-results .shared-match-card .match-court .match-fact-value { color:#202a39; font-weight:550; }
  body.wp-excellence #player-results .shared-match-card .match-level-block { display:block; }
  body.wp-excellence #player-results .shared-match-card .match-level-inline { display:flex; flex-wrap:wrap; gap:5px; margin:0; }
  body.wp-excellence #player-results .shared-match-card .match-level-inline-chip { padding:2px 6px; border:0; border-radius:4px; background:#f5f8fa; color:#5c6a7b; font-size:11px; font-weight:500; line-height:1.4; }
  body.wp-excellence #player-results .shared-match-card .match-booking-summary {
    display:flex; flex-wrap:wrap; flex-basis:100%; gap:3px 12px; order:3;
    width:100%; min-width:0; margin:0; padding:2px 0 0; border:0; border-radius:0;
    background:transparent; color:#5c6a7b; font-size:11px; line-height:1.45;
  }
  body.wp-excellence #player-results .shared-match-card .match-booking-chip { display:inline; min-width:0; margin:0; padding:0; white-space:normal; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .match-booking-chip .match-fact-value { font-size:11px; font-weight:500; }
  body.wp-excellence #player-results .shared-match-card .match-booking-chip.is-unset { color:#5c6a7b; }
  body.wp-excellence #player-results .shared-match-card .match-special-price-chip { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 5px; }
  body.wp-excellence #player-results .shared-match-card .match-special-price-chip s { color:#5c6a7b; font-size:11px; }
  body.wp-excellence #player-results .shared-match-card .match-special-price-chip strong { color:#435166; font-size:11px; font-weight:600; }
  body.wp-excellence #player-results .shared-match-card .match-special-price-chip > span { font-size:11px; }
  body.wp-excellence #player-results .shared-match-card .group-match-lineup {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:11px 0 0; padding:0; border:0;
  }
  body.wp-excellence #player-results .shared-match-card .match-team {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:3px;
    min-width:0; padding:7px 5px; border-radius:8px; background:#f5f8fa;
  }
  body.wp-excellence #player-results .shared-match-card .match-team > header { display:block; grid-column:1 / -1; padding:0 3px 3px; color:#5c6a7b; font-size:11px; line-height:1.4; font-weight:600; }
  body.wp-excellence #player-results .shared-match-card .group-match-player {
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
    box-sizing:border-box; min-width:0; width:100%; min-height:52px; margin:0; padding:2px 0;
    border:0; border-radius:8px; background:transparent; box-shadow:none; color:#202a39;
    font:inherit; text-align:center; transform:none;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-player::before,
  body.wp-excellence #player-results .shared-match-card .group-match-player::after { display:none; }
  body.wp-excellence #player-results .shared-match-card .group-match-player > span:first-child,
  body.wp-excellence #player-results .shared-match-card .group-match-player > img {
    display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:50%;
    background:#fff; color:#007f83; object-fit:cover; font-size:12px; font-weight:600; line-height:1;
  }
  body.wp-excellence #player-results .shared-match-card .group-match-player strong { max-width:100%; color:inherit; font-size:11px; line-height:1.35; font-weight:550; white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .group-match-player > small { display:none; }
  body.wp-excellence #player-results .shared-match-card .group-match-player.free { color:#007f83; }
  body.wp-excellence #player-results .shared-match-card .group-match-player.free > span { border:1px dashed #007f83; background:transparent; font-size:20px; font-weight:400; }
  body.wp-excellence #player-results .shared-match-card .group-match-player.free:not(:disabled):hover,
  body.wp-excellence #player-results .shared-match-card .wp-player-card-trigger:hover { background:#e8f5f2; }
  body.wp-excellence #player-results .shared-match-card .group-match-player .match-participant-remove { min-width:0; width:100%; min-height:44px; padding:5px 2px; font-size:11px; line-height:1.3; white-space:normal; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .match-card-actions { margin:7px 0 0; padding:0!important; border:0; gap:7px; }
  body.wp-excellence #player-results .shared-match-card .match-card-actions > .match-footer-redundant { display:none; }
  body.wp-excellence #player-results .shared-match-card .match-card-actions > p { font-size:11px!important; }
  /* Compact mobile actions: preserve labels, source order and existing handlers. */
  body.wp-excellence #player-results .shared-match-card .match-action-bar:has(.match-action-button) {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:stretch;
    width:100%; min-width:0; gap:6px!important; margin:3px 0 0;
  }
  body.wp-excellence #player-results .shared-match-card .match-owner-final-actions {
    grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px; margin-top:2px; padding-top:8px; border-top:1px solid #edf1f4;
  }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-button {
    width:100%; min-width:0; min-height:44px!important; height:auto; padding:7px 8px!important;
    gap:6px!important; border:1px solid #dce4e9; border-radius:9px!important; background:#f8fafb;
    color:#435166; font-size:12px!important; font-weight:600; line-height:1.35!important;
    white-space:normal; box-shadow:none; transform:none;
  }
  body.wp-excellence #player-results .shared-match-card .match-action-button > span:not(.match-action-symbol) { min-width:0; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .match-action-button svg,
  body.wp-excellence #player-results .shared-match-card .match-action-button .match-action-symbol { width:16px; height:16px; flex:0 0 16px; font-size:16px; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-chat { background:#087f7a; border-color:#087f7a; color:#fff; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-delete,
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-withdraw { background:#fff; border-color:#efccd2; color:#b62f3d; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-button:hover:not(:disabled) { border-color:#8ea7ad; background:#edf4f5; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-chat:hover:not(:disabled) { border-color:#066c68; background:#066c68; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-delete:hover:not(:disabled),
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-withdraw:hover:not(:disabled) { border-color:#d85b67; background:#fff5f6; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-action-button:focus-visible { outline:2px solid #007f83; outline-offset:2px; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar .match-status { grid-column:1 / -1; width:100%; min-height:28px!important; padding:4px 8px!important; font-size:11px!important; line-height:1.35; }
  body.wp-excellence #player-results .shared-match-card .match-action-bar:has(.match-plus-hint) { min-height:19.6px; align-content:center; }
  body.wp-excellence #player-results .shared-match-card .match-plus-hint { width:auto; min-height:0!important; margin:0; padding:0!important; border:0; border-radius:0; background:transparent; color:#5c6a7b; font-size:11px!important; font-weight:400; line-height:1.4; justify-content:flex-end; }
  /* Pending requests use the existing profile and decision controls, without nested gutters. */
  body.wp-excellence #player-results .shared-match-card .match-requests {
    min-width:0; margin:12px 0 0; padding:12px; border:1px solid #e3eaee;
    border-radius:12px; background:#f8fafb;
  }
  body.wp-excellence #player-results .shared-match-card .match-requests > strong {
    margin:0 0 4px; color:#435166; font-size:13px; font-weight:650; line-height:1.4;
  }
  body.wp-excellence #player-results .shared-match-card .match-request-card { border-top:1px solid #e3eaee; background:transparent; }
  body.wp-excellence #player-results .shared-match-card .match-request-card:first-child { border-top:0; }
  body.wp-excellence #player-results .shared-match-card .match-request-summary {
    grid-template-columns:minmax(0,1fr) auto!important; align-items:center; gap:6px 8px; padding:8px 0;
  }
  body.wp-excellence #player-results .shared-match-card .match-request-card:last-child .match-request-summary { padding-bottom:0; }
  body.wp-excellence #player-results .shared-match-card .match-request-person { gap:8px; }
  body.wp-excellence #player-results .shared-match-card .match-request-person strong { min-width:0; font-size:14px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
  body.wp-excellence #player-results .shared-match-card .match-request-person img,
  body.wp-excellence #player-results .shared-match-card .request-avatar-fallback { width:32px; height:32px; flex:0 0 32px; font-size:13px; font-weight:600; }
  body.wp-excellence #player-results .shared-match-card .request-profile-toggle {
    width:auto; min-width:0; min-height:44px; padding:6px 0 6px 6px; border:0!important; border-radius:6px;
    background:transparent!important; color:#087f7a!important; font-size:12px; font-weight:600; line-height:1.4;
    text-decoration:underline; text-underline-offset:3px; white-space:normal; box-shadow:none;
  }
  body.wp-excellence #player-results .shared-match-card .match-request-actions {
    grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; min-width:0; width:100%;
  }
  body.wp-excellence #player-results .shared-match-card .match-request-actions button {
    box-sizing:border-box; width:100%; min-width:0; min-height:44px; height:auto; margin:0; padding:7px 8px;
    border:1px solid #087f7a; border-radius:9px; background:#087f7a; color:#fff;
    font-size:13px; font-weight:600; line-height:1.35; white-space:normal; box-shadow:none;
  }
  body.wp-excellence #player-results .shared-match-card .match-request-actions button.reject { margin:0; border-color:#dce4e9; background:#fff; color:#435166; }
  body.wp-excellence #player-results .shared-match-card .match-request-actions button:hover:not(:disabled) { background:#066c68; border-color:#066c68; }
  body.wp-excellence #player-results .shared-match-card .match-request-actions button.reject:hover:not(:disabled) { background:#edf4f5; border-color:#8ea7ad; }
  body.wp-excellence #player-results .shared-match-card .match-requests button:focus-visible { outline:2px solid #007f83; outline-offset:2px; }
  body.wp-excellence #player-results .shared-match-card .match-requests button:disabled { opacity:.55; cursor:wait; }
}
