/* EFL 2.0 -> 3.0 generic legacy module shell.
 * IMPORTANT: native efl-2v2-teams 1.29.0 presentation is intentionally NOT
 * overridden here. Its original stylesheet is the visual source of truth.
 */
.efl3-legacy-module{padding-top:28px;padding-bottom:64px;color:#fff}
.efl3-legacy-module-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:0 2px}.efl3-legacy-module-top>a{color:#aeb6c2;font-size:12px;font-weight:800}.efl3-legacy-module-top>div{display:flex;align-items:center;gap:10px}.efl3-legacy-module-top span{color:#7c8795;font-size:9px;font-weight:900;letter-spacing:.14em}.efl3-legacy-module-top b{padding:6px 9px;border-radius:8px;background:#e54642;font-size:10px}
.efl3-legacy-module-tabs{display:flex;gap:8px;margin-bottom:22px;padding:7px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#0c0f13;overflow-x:auto}.efl3-legacy-module-tabs a{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 13px;border-radius:9px;color:#9ca5b1;font-size:12px;font-weight:800;white-space:nowrap}.efl3-legacy-module-tabs a.is-active{background:#e54642;color:#fff}
.efl3-legacy-notice,.efl3-legacy-gate{margin:0 0 16px;padding:13px 15px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:#11151a;color:#d7dde5;font-size:13px}.efl3-legacy-notice.is-success{border-color:rgba(78,205,126,.36)}.efl3-legacy-notice.is-error{border-color:rgba(229,70,66,.55)}.efl3-legacy-notice.is-gate,.efl3-legacy-gate{border-color:rgba(235,181,61,.35);background:rgba(235,181,61,.06)}.efl3-legacy-gate{display:flex;gap:8px;flex-direction:column}.efl3-legacy-gate span{color:#aab3be;font-size:12px}
.efl3-legacy-module .efl-wrap{width:100%;max-width:none}.efl3-legacy-module .efl-card{border-color:rgba(255,255,255,.15)}
.efl3-legacy-module .efl-actions form{margin:0}.efl3-legacy-module button:disabled,.efl3-legacy-module input:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:900px){.efl3-legacy-module{width:min(calc(100% - 28px),var(--efl-shell));padding-top:18px}.efl3-legacy-module-tabs{margin-left:0;margin-right:0}.efl3-legacy-module .efl-match-cards{grid-template-columns:1fr!important}}
@media(max-width:620px){.efl3-legacy-module{width:min(calc(100% - 20px),var(--efl-shell));padding-top:14px;padding-bottom:44px}.efl3-legacy-module-top{align-items:flex-start}.efl3-legacy-module-top>div span{display:none}.efl3-legacy-module-tabs{gap:5px;padding:5px}.efl3-legacy-module-tabs a{padding:0 10px;font-size:11px}.efl3-legacy-module .eflpm-head{padding-left:0;padding-right:0}}

/* EFL 3.0 API adapters for controls that did not exist in the legacy CSS.
 * These selectors style only new bridge elements; legacy 1.29.0 selectors stay untouched.
 */
.efl3-2v2-settings-form{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:end}
.efl3-2v2-settings-form>label{min-width:0}.efl3-2v2-settings-form>button{min-height:44px}
.efl3-2v2-check{display:flex!important;align-items:center;gap:8px;grid-column:1/-1}.efl3-2v2-check input{width:auto!important;margin:0}.efl3-2v2-check span{margin:0!important}
.efl3-player-search-label{position:relative}.efl3-player-search{position:relative}.efl3-player-search input[type=search]{width:100%}
.efl3-player-search-results{position:absolute;z-index:90;left:0;right:0;top:calc(100% + 5px);max-height:260px;overflow:auto;padding:5px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:#0c0f13;box-shadow:0 18px 40px rgba(0,0,0,.42)}
.efl3-player-search-result{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:#fff;text-align:left;cursor:pointer}.efl3-player-search-result:hover{background:rgba(255,255,255,.07)}.efl3-player-search-result strong{font-size:12px}.efl3-player-search-result small,.efl3-player-search-empty{color:#8e98a4;font-size:10px}.efl3-player-search-empty{padding:10px}
.efl3-2v2-slot-label{position:absolute;top:10px;left:10px;padding:4px 7px;border-radius:6px;background:rgba(229,70,66,.13);color:#ff7b77;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.efl3-2v2-slot.is-substitute .efl3-2v2-slot-label{background:rgba(255,255,255,.07);color:#bec7d1}
.efl3-2v2-invite-form+.efl3-2v2-invite-form{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.efl3-2v2-create-form .efl-2v2-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
@media(max-width:900px){.efl3-2v2-settings-form,.efl3-2v2-create-form .efl-2v2-fields{grid-template-columns:1fr}}
@media(max-width:700px){.efl3-player-search-results{position:relative;top:5px}}
