.clubs-page { min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 95% 25%, #16312a66, transparent 55%), var(--ink); }
.clubs-page [hidden] { display: none !important; }
.clubs-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 5%; border-bottom: 1px solid var(--line); }
.clubs-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.clubs-header nav a, .clubs-header nav button { padding: 12px 0; }
.clubs-header nav button { border: 0; background: none; color: var(--muted); cursor: pointer; }
.clubs-header nav a:hover, .clubs-header nav button:hover { color: var(--accent); }
.clubs-header .nav-clubs { color: var(--accent); }
.clubs-main { width: min(1180px, 90%); margin: 60px auto 80px; flex: 1; }
.clubs-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.club-view h1 { margin: 0; font: 900 clamp(40px, 5.2vw, 72px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.025em; overflow-wrap: anywhere; }
.club-view h1[tabindex="-1"]:focus { outline: none; }
.club-view h1 span, .empty-clubs h2 span { color: var(--accent); }
.club-muted { color: var(--muted); font-size: 16px; line-height: 1.65; }
.club-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 17px 23px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; text-align: center; }
.club-button:hover { background: #e6ff97; }
.club-button.secondary { background: transparent; color: var(--accent); border-color: #d8ff6160; }
.club-button.secondary:hover { background: #d8ff6112; }
.clubs-page button:disabled { opacity: .5; cursor: wait; }
.empty-clubs { text-align: center; border: 1px dashed #d8ff6145; border-radius: 12px; padding: 44px 24px 48px; background: linear-gradient(140deg, #15302666, #0b191b66); }
.empty-clubs .eyebrow { justify-content: center; margin: 28px 0 14px; }
.empty-clubs h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.35; letter-spacing: -.025em; margin: 0; }
.empty-clubs .club-muted { margin: 18px 0 28px; }
.empty-pitch { width: 142px; height: 92px; border: 1px solid #d8ff6160; border-radius: 5px; position: relative; margin: auto; background: repeating-linear-gradient(90deg, #d8ff6108 0 28px, transparent 28px 56px); }
.empty-pitch::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid #d8ff6160; }
.empty-pitch span { position: absolute; width: 34px; height: 34px; border: 1px solid #d8ff6160; border-radius: 50%; top: 28px; left: 54px; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.club-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #0d1d1e; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .15s; }
.club-card:hover { border-color: #d8ff6180; }
.club-card h2 { font-size: 23px; line-height: 1.25; overflow-wrap: anywhere; margin: 24px 0 12px; }
.club-card .card-enter { width: 100%; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--accent); font-weight: 700; font-size: 14px; }
.club-card .owner-badge { margin-top: auto; }
.club-avatar { flex-shrink: 0; width: 84px; height: 84px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; border: 1px solid #d8ff6135; background: #1e382c; color: var(--accent); font: 900 30px/1 var(--sans); letter-spacing: -.04em; }
.club-avatar img { width: 100%; height: 100%; object-fit: cover; }
.owner-badge { display: inline-flex; align-self: flex-start; border-radius: 4px; background: #d8ff6110; color: #cfdfc7; font-size: 11px; padding: 6px 9px; margin: 0; }
.club-back { display: inline-block; color: var(--muted); font-size: 14px; padding: 10px 0; margin-bottom: 35px; }
.club-back:hover, .text-button:hover { color: var(--accent); }
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.form-intro h1 { max-width: 480px; }
.form-intro .club-muted { margin-top: 28px; }
.owner-note { margin-top: 36px; padding-left: 18px; border-left: 2px solid var(--accent); font-size: 13px; color: var(--muted); line-height: 1.8; }
.club-form { padding: 32px; background: #0d1d1e; border: 1px solid var(--line); border-radius: 12px; }
.club-form label { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.optional { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: auto; }
.club-form input[type=text] { width: 100%; min-width: 0; padding: 17px; border: 1px solid #ffffff30; border-radius: 6px; background: var(--ink); color: var(--white); font: inherit; }
.club-form input::placeholder { color: #849691; }
.field-help { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 10px 0 28px; }
.photo-editor { display: flex; gap: 20px; align-items: center; }
.avatar-large { width: 100px; height: 100px; font-size: 36px; }
.photo-controls { min-width: 0; }
.photo-controls input { max-width: 100%; font: 12px var(--sans); color: var(--muted); }
.photo-controls input::file-selector-button { display: block; padding: 11px 14px; margin-bottom: 9px; background: #243c32; color: var(--white); border: 1px solid #ffffff30; border-radius: 5px; cursor: pointer; font: 700 12px var(--sans); }
.text-button { border: 0; background: none; padding: 10px 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.form-actions { display: flex; align-items: center; gap: 25px; padding-top: 6px; }
.form-actions a { font-size: 13px; color: var(--muted); }
.club-profile { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #163126aa, #0d1d1e); display: flex; align-items: center; flex-wrap: wrap; gap: 36px; padding: clamp(24px, 4vw, 55px); }
.avatar-profile { width: 140px; height: 140px; font-size: 48px; border-radius: 24px; }
.profile-copy { flex: 1; min-width: min(250px, 100%); }
.profile-copy h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.profile-copy .club-muted { font-size: 12px; margin-bottom: 0; }
.club-message { padding: 18px 22px; border: 1px solid #d8ff6150; border-radius: 6px; background: #203122; color: #e1edcd; font-size: 14px; line-height: 1.6; }
.club-message[data-error=true] { background: #392520; border-color: #a26c59; color: #ffcfbd; }
.clubs-footer { display: flex; justify-content: space-between; gap: 20px; margin: 0 5%; padding: 24px 0; border-top: 1px solid var(--line); color: #83978f; font-size: 9px; letter-spacing: .16em; }
#error-view h1 { font: 700 30px/1.3 var(--sans); margin: 40px 0; }
#error-view .text-button { margin-left: 25px; }
@media (max-width: 760px) {
  .clubs-header { flex-wrap: wrap; padding: 22px 5% 12px; gap: 15px; }
  .clubs-header nav { gap: 22px; flex-wrap: wrap; font-size: 12px; }
  .clubs-main { margin-top: 35px; margin-bottom: 45px; }
  .clubs-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
  .clubs-heading .club-button { width: 100%; }
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .owner-note { margin-top: 20px; }
  .club-form { padding: 24px 20px; }
  .form-actions { flex-wrap: wrap; gap: 20px; }
  .form-actions .club-button { flex-grow: 1; }
  .photo-editor { gap: 15px; }
  .avatar-large { width: 80px; height: 80px; }
  .clubs-footer { flex-direction: column; gap: 12px; }
  .club-profile { gap: 25px; }
  .club-profile .club-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .club-card { transition: none; } }

.players-section { margin-top: 48px; }
.matches-section { margin-top: 44px; }
.players-heading.matches-heading { align-items: flex-start; }
.match-creation { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; width: min(100%, 460px); }
.match-creation > div { max-width: 224px; justify-self: end; }
.match-creation .club-button { width: 100%; padding-inline: 10px; }
.match-creation p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.match-invitations { margin-top: 24px; }
.match-invitations h3 { margin: 0 0 12px; font-size: 20px; }
@media (max-width: 340px) {
  .match-creation { grid-auto-flow: row; grid-auto-rows: auto; }
  .match-creation > div { max-width: none; justify-self: stretch; }
}
.match-list { display: grid; gap: 12px; }
.match-list-item { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #0d1d1e; }
.match-list-item:hover { border-color: var(--accent); }
.match-list-item strong { overflow-wrap: anywhere; }
.match-list-item > span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.match-list-item > span:not(.match-list-action) { grid-column: 1; }
.match-list-item .match-list-action { color: var(--accent); grid-column: 2; grid-row: 1 / 3; align-self: center; }
@media (max-width: 600px) { .match-list-item { grid-template-columns: 1fr; } .match-list-item .match-list-action { grid-column: 1; grid-row: auto; } }
.players-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.players-heading .eyebrow { margin-bottom: 10px; }
.players-heading h2 { font-size: 28px; margin: 0; }
#player-count { margin-left: 8px; padding: 5px 10px; border-radius: 6px; color: var(--accent); background: #d8ff6115; font-size: 14px; vertical-align: middle; }
.empty-players { border: 1px dashed #d8ff6145; border-radius: 12px; padding: 32px; background: #0d1d1e; }
.empty-players h3 { margin-top: 0; font-size: 22px; }
.players-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0d1d1e; }
.players-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.players-table th { padding: 18px 24px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: #142925; }
.players-table th:first-child { width: 35%; }
.players-table th:nth-child(2) { width: 20%; }
.players-table th:last-child { width: 12%; }
.players-table td { padding: 20px 24px; border-top: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.players-table td:last-child .text-button { display: block; }
.club-invitation-dialog, .friend-invitation { max-width: min(420px, calc(100vw - 32px)); width: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #0d1d1e; color: #f5f7f0; }
.club-invitation-dialog::backdrop, .friend-invitation::backdrop { background: rgba(0, 0, 0, .7); }
.club-invitation-dialog .club-form { padding: 0; background: none; border: 0; }
.club-invitation-dialog h2 { margin: 0; }
.friend-invitation form, .friend-invitation label { display: grid; gap: 12px; }
.friend-invitation select { width: 100%; padding: 10px; color: inherit; background: #132c2b; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.friend-invitation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.player-identity { display: flex; align-items: center; gap: 16px; }
.player-avatar { border-radius: 50%; }
.player-identity .player-avatar { width: 50px; height: 50px; font-size: 19px; }
.player-identity strong { min-width: 0; }
.player-profile-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.link-state { display: block; margin-top: 7px; font-size: 11px; color: var(--muted); }
.link-state.pending { color: #e8c986; }
.link-state.accepted { color: var(--accent); }
.link-state.rejected { color: #efb09b; }
#player-form input[type=text] { margin-bottom: 24px; }
#player-form input[type=url] { width: 100%; padding: 17px; border: 1px solid #ffffff30; border-radius: 6px; background: var(--ink); color: var(--white); font: inherit; }
#player-form input:read-only { color: var(--muted); }
#player-form .form-actions { flex-wrap: wrap; }
.link-requests { border: 1px solid #d8ff6150; border-radius: 12px; padding: 28px; margin-bottom: 32px; background: #163025; }
.link-requests h2 { margin: 0; font-size: 25px; }
.link-requests > .club-muted { font-size: 14px; }
.link-request { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.link-request h3 { margin: 0 0 8px; overflow-wrap: anywhere; }
.link-request p { margin: 0; line-height: 1.6; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.request-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
@media (max-width: 760px) {
  .players-heading, .link-request { align-items: stretch; flex-direction: column; }
  .link-requests { padding: 22px; }
  .request-actions { flex-wrap: wrap; }
  .players-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .players-table, .players-table tbody, .players-table tr, .players-table td { display: block; width: 100%; }
  .players-table tr { padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .players-table tr:last-child { border-bottom: 0; }
  .players-table td { padding: 8px 0; border: 0; }
  .players-table td[data-label=Apodo]::before { content: 'APODO '; color: var(--muted); font-size: 10px; letter-spacing: .1em; margin-right: 10px; }
  .empty-players { padding: 24px; }
}

.club-access-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 24px 0; }
.club-access-bar .club-muted { max-width: 420px; font-size: 13px; }
.club-access-bar > div { display: flex; flex-wrap: wrap; gap: 12px; }
.role-guide, .statistics-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0; }
.role-guide p, .statistics-summary > div { margin: 0; border: 1px solid var(--line); background: #0d1d1e; border-radius: 10px; padding: 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.role-guide strong { display: block; color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.member-list { border: 1px solid var(--line); border-radius: 12px; background: #0d1d1e; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.member-row:last-child { border-bottom: 0; }
.member-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.member-row .club-muted { font-size: 12px; }
.member-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.member-controls select { padding: 14px; color: var(--white); background: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.statistics-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.statistics-summary strong { display: block; font-size: 42px; color: var(--accent); }
#statistics-table-wrap { overflow-x: auto; }
.statistics-help { font-size: 13px; line-height: 1.6; }
.statistics-table { width: 100%; min-width: 940px; border-collapse: collapse; table-layout: fixed; }
.statistics-name { width: 13%; }
.statistics-nickname { width: 10%; }
.statistics-matches { width: 16%; }
.statistics-winrate { width: 10%; }
.statistics-assists { width: 11%; }
.statistics-rating { width: 13%; }
.statistics-table th, .statistics-table td { padding: 18px 16px; text-align: left; overflow-wrap: anywhere; font-size: 14px; border-bottom: 1px solid var(--line); }
.statistics-table td:nth-child(-n+2) { font-size: 13px; }
.statistics-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; }
.statistics-table th { color: var(--muted); background: #142925; font-size: 12px; }
.statistics-table th button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.statistics-table th button span { flex-shrink: 0; }
.statistics-table th[aria-sort], .statistics-table th button:hover { color: var(--accent); }
.statistics-table th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 760px) {
  .club-access-bar, .member-row { flex-direction: column; align-items: stretch; }
  .club-access-bar > div { flex-direction: column; }
  .role-guide { grid-template-columns: 1fr; }
  .statistics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statistics-summary > div:last-child { grid-column: 1 / -1; }
  .statistics-summary > div { padding: 18px; }
  .statistics-table th, .statistics-table td { padding: 14px 10px; }
  .statistics-table th:first-child, .statistics-table td:first-child { position: sticky; left: 0; box-shadow: 1px 0 var(--line); }
  .statistics-table th:first-child { background: #142925; z-index: 1; }
  .statistics-table td:first-child { background: #0d1d1e; }
}

.analytics-controls { display:flex; flex-wrap:wrap; gap:16px; align-items:end; margin:28px 0 16px; }
.analytics-controls label { display:flex; flex-direction:column; gap:8px; font-size:13px; }
.analytics-controls label[hidden] { display:none; }
.analytics-controls input, .analytics-controls select { padding:12px; background:#132b31; color:#fff; border:1px solid #587075; border-radius:8px; max-width:100%; min-width:0; font:inherit; }
.analytics-controls input[type=number] { width:130px; }
.season-leaders { margin: 32px 0; }
.season-leaders h2 { margin: 0 0 16px; font: 900 clamp(26px, 4vw, 38px)/1.1 var(--display); }
.season-awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.season-award { min-width: 0; padding: 18px; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 8px; background: #0d1d1e; overflow-wrap: anywhere; }
.season-award h3 { margin: 0 0 10px; font-size: 14px; }
.season-award p { margin: 0; }
.season-award strong { color: var(--accent); font-size: 26px; }
.season-award ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.5; }
.relationships-panel { margin-top:56px; padding-top:40px; border-top:1px solid var(--line); }
.relationships-panel > h2 { font:900 clamp(30px,4vw,46px)/1.1 var(--display); text-transform:uppercase; margin:0 0 14px; }
.relationships-panel > .club-muted { max-width:650px; }
.connection-search { position:relative; width:min(100%,520px); margin:28px 0; }
.connection-search label { display:block; margin-bottom:10px; color:var(--white); font-size:13px; font-weight:700; }
.connection-search input { width:100%; min-height:52px; padding:15px 18px; border:1px solid #d8ff6150; border-radius:8px; background:#0d1d1e; color:var(--white); font:inherit; }
.connection-search input::placeholder { color:var(--muted); }
.connection-search input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.connection-search .field-help { margin:12px 0 0; }
#relationship-options { position:absolute; top:80px; z-index:10; width:100%; max-height:330px; overflow-y:auto; margin:0; padding:6px; list-style:none; border:1px solid #d8ff6150; border-radius:10px; background:#132722; box-shadow:0 16px 45px #0008; }
.connection-option { display:flex; align-items:center; gap:14px; padding:10px; border-radius:6px; cursor:pointer; }
.connection-option:hover, .connection-option[aria-selected=true] { background:#d8ff611a; }
.connection-option > span:last-child { font-size:14px; font-weight:700; min-width:0; overflow-wrap:anywhere; }
.connection-option small { display:block; color:var(--muted); font-size:12px; font-weight:400; margin-top:5px; }
.connection-option-avatar { position:relative; display:grid; place-items:center; width:42px; height:46px; flex-shrink:0; overflow:hidden; border:1px solid #e5d29550; border-radius:6px; background:#264433; color:#e5d295; font-size:15px; font-weight:800; }
.connection-option-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.connection-selected { display:flex; align-items:center; gap:28px; padding:28px; background:linear-gradient(120deg,#1e382c99,#0d1d1e); border:1px solid #d8ff6140; border-radius:14px; }
.connection-selected h3 { margin:0; font:900 clamp(24px,3vw,34px)/1.2 var(--display); text-transform:uppercase; overflow-wrap:anywhere; }
.connection-selected .eyebrow { margin:0 0 12px; font-size:10px; }
.connection-selected .club-muted { font-size:13px; }
.connection-selected .club-button { font-size:12px; padding:12px 16px; }
#relationship-status { font-size:12px; margin:20px 0; }
.connection-block { margin-top:38px; }
.connection-block h3 { font:900 clamp(25px,3vw,36px)/1.1 var(--display); text-transform:uppercase; margin:0; }
.connection-block > .club-muted { margin:12px 0 22px; font-size:14px; max-width:650px; }
.connection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.connection-tile { min-width:0; display:flex; flex-direction:column; align-items:center; padding:24px 16px 18px; background:linear-gradient(150deg,#162d2499,#0d1d1e); border:1px solid var(--line); border-radius:12px; text-align:center; }
.connection-tile .player-card { width:138px; height:188px; padding:14px 10px 24px; }
.connection-tile .card-portrait { width:94px; height:96px; font-size:34px; }
.connection-tile .card-name { font-size:13px; }
.connection-tile .card-nickname { font-size:11px; }
.connection-metric { margin-top:22px; }
.connection-metric strong { display:block; color:var(--accent); font:900 clamp(34px,4vw,50px)/1 var(--display); font-variant-numeric:tabular-nums; }
.connection-metric > span { display:block; margin-top:8px; color:var(--white); font-size:12px; line-height:1.5; }
.connection-sample { font-size:12px; color:var(--muted); margin:12px 0 0; }
.connection-record { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; width:100%; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.connection-record span { color:var(--muted); font-size:10px; line-height:1.5; }
.connection-record b { display:block; color:var(--white); font-size:16px; }
.connection-empty { padding:24px; border:1px dashed #d8ff6135; border-radius:10px; color:var(--muted); font-size:14px; line-height:1.6; }
@media(max-width:680px) {
  .connection-grid { grid-template-columns:1fr; gap:14px; }
  .connection-selected { padding:20px 16px; gap:16px; align-items:flex-start; }
  .connection-selected > div { min-width:0; }
  .connection-selected .eyebrow { line-height:1.6; }
  .connection-tile { display:grid; grid-template-columns:108px minmax(0,1fr); column-gap:16px; row-gap:0; padding:18px 14px; }
  .connection-tile .player-card { grid-row:span 3; width:108px; height:150px; padding:10px 7px 16px; }
  .connection-tile .card-portrait { width:76px; height:77px; font-size:28px; }
  .connection-tile .card-name { font-size:11px; }
  .connection-tile .card-nickname { font-size:10px; }
  .connection-metric { margin-top:0; }
  .connection-metric strong { font-size:34px; }
  .connection-sample { margin-top:8px; }
  .connection-record { gap:8px; margin-top:10px; padding-top:10px; }
  .connection-record span { font-size:9px; }
}
@media(max-width:360px) {
  .connection-selected { flex-direction:column; align-items:center; text-align:center; }
}
@media(max-width:480px) { .analytics-controls label { flex:1 1 125px; } .analytics-controls button { width:100%; } }

#create-match[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
