.match-accounts{min-width:0;max-width:100%;overflow-wrap:anywhere;margin:12px 0;font-size:16px}
.match-accounts *{box-sizing:border-box;min-width:0;max-width:100%}
.match-accounts fieldset{margin:14px 0;padding:12px;border:1px solid #a9bdb1;border-radius:12px}
.match-accounts label{display:block;margin:10px 0;line-height:1.5}
.match-accounts input:not([type=checkbox]),.match-accounts select{display:block;width:100%;min-height:44px;font:inherit;padding:8px}
.match-accounts input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin:0 8px}
.match-accounts button,.match-accounts summary{min-height:44px;white-space:normal;font:inherit;cursor:pointer}
.match-accounts p{line-height:1.5}.match-accounts summary{padding:10px 0}.match-accounts button{margin:4px 6px 4px 0}
@media(max-width:600px){#resultForm .team-grid:has(.match-accounts){grid-template-columns:minmax(0,1fr)} }
.account-display-controls{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:12px 0;padding:12px;border:1px solid #d4dfd8;border-radius:12px;max-width:100%}
.account-display-controls label{display:flex;gap:10px;align-items:center;min-width:0}.account-display-controls select{min-height:44px;font:inherit;max-width:100%;padding:8px}.account-display-controls [role=status]{font-size:13px}
.account-name{display:inline-block;max-width:100%;vertical-align:middle;overflow-wrap:anywhere;white-space:normal}.account-name-line{display:block;line-height:1.4;margin:3px 0}.account-name-line small{display:block;font-size:11px;font-weight:400;opacity:.7}.account-name-line>span{display:block}.account-name>small{display:block;font-size:11px;font-weight:400}.match-versus>div{min-width:0;overflow-wrap:anywhere}
.account-name-copy{font:inherit;font-size:12px;min-height:32px;padding:4px 8px;margin:4px 0;border:1px solid #cbd8ce;border-radius:8px;background:transparent;cursor:pointer}
.record-name-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e1e7e2}.record-name-row>div{min-width:0}.record-name-row>small{grid-column:1/-1}
.dupr-join-dialog{width:min(92vw,430px);max-height:85vh;overflow:auto;margin:auto;padding:20px;border:1px solid #a9bdb1;border-radius:16px;background:#fff;color:#17251f}.dupr-join-dialog::backdrop{background:#0006}.dupr-join-dialog a{display:block;margin:12px 0;white-space:normal}

.match-accounts .match-account-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;align-items:center;gap:8px;margin:12px 0}
.match-accounts .match-account-row label{margin:0;font-size:14px;line-height:1.3}
.match-accounts .match-account-row button{margin:0;padding:8px;font-size:13px;white-space:nowrap}
.match-accounts [role=status]:empty{display:none}


/* Profile: club buttons share one row; section title matches the other profile titles (2026-11-21, user request). */
[data-dupr-club]{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin-top:6px}
[data-dupr-club]>a.ghost-btn{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;margin:0!important;padding:0 6px;min-height:40px;font-size:clamp(11px,3.2vw,14px);white-space:nowrap;text-align:center}
.profile-page .match-accounts>h2{font-size:17px!important;font-weight:750;line-height:1.3;margin:0 0 8px!important}