.tpf-finder,.tpf-dashboard,.tpf-tournament-section,.tpf-auth-shell{--tpf-green:#0A4D93;--tpf-green-dark:#073D75;--tpf-soft:#F5F8FB;--tpf-border:#D8E5F0;--tpf-text:#062F59;--tpf-muted:#66788A;--tpf-radius:18px;color:var(--tpf-text);box-sizing:border-box}.tpf-finder *,.tpf-dashboard *,.tpf-tournament-section *,.tpf-auth-shell *{box-sizing:border-box}.tpf-card{background:#fff;border:1px solid var(--tpf-border,#D8E5F0);border-radius:var(--tpf-radius,18px);padding:26px;box-shadow:0 12px 36px rgba(20,48,32,.06)}.tpf-eyebrow{display:block;color:var(--tpf-green,#0A4D93);font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.12em;margin-bottom:7px}.tpf-card-heading h2,.tpf-finder-head h2{font-size:clamp(25px,3vw,36px);line-height:1.1;margin:0 0 8px}.tpf-card-heading p,.tpf-finder-head p{margin:0 0 22px;color:var(--tpf-muted,#66788A)}.tpf-btn{appearance:none;border:0;background:var(--tpf-green,#0A4D93);color:#fff!important;border-radius:999px;padding:12px 19px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:750;text-decoration:none!important;cursor:pointer;transition:.18s}.tpf-btn:hover{background:var(--tpf-green-dark,#073D75);transform:translateY(-1px)}.tpf-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.tpf-btn-block{width:100%}.tpf-btn-small{padding:8px 14px;min-height:36px}.tpf-btn-ghost{background:#F2F6FA;color:var(--tpf-text)!important}.tpf-text-btn{border:0;background:none;color:#8a3535;padding:4px 0;cursor:pointer;text-decoration:underline}.tpf-response{min-height:22px;margin-top:10px;font-size:14px;font-weight:700}.tpf-response.is-success{color:#0A4D93}.tpf-response.is-error{color:#a73535}.tpf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.tpf-span-2{grid-column:1/-1}.tpf-card label{font-weight:700;font-size:14px}.tpf-card input,.tpf-card select,.tpf-card textarea,.tpf-filters input,.tpf-filters select{width:100%;margin-top:6px;border:1px solid #C9D9E7;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-card textarea{min-height:100px;resize:vertical}.tpf-auth-shell{max-width:760px;margin:36px auto}.tpf-dashboard{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start;margin:30px 0}.tpf-sidebar{position:sticky;top:30px;background:#073D75;color:#fff;border-radius:20px;overflow:hidden}.tpf-profile-summary{text-align:center;padding:28px 20px 20px}.tpf-avatar img{border-radius:50%;display:block}.tpf-profile-summary .tpf-avatar img{margin:auto;border:3px solid rgba(255,255,255,.22)}.tpf-profile-summary h3{margin:12px 0 8px;color:#fff}.tpf-level-pill{display:inline-block;background:#EAF2F9;color:#0A4D93;border-radius:999px;font-size:12px;font-weight:800;padding:5px 9px}.tpf-tabs{padding:8px}.tpf-tab{display:block;width:100%;border:0;background:transparent;color:rgba(255,255,255,.75);text-align:left;padding:12px 14px;border-radius:10px;font:inherit;font-weight:650;cursor:pointer}.tpf-tab.is-active,.tpf-tab:hover{background:rgba(255,255,255,.11);color:#fff}.tpf-tab-panel{display:none}.tpf-tab-panel.is-active{display:block}.tpf-availability-header{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}.tpf-master-switch{display:flex!important;align-items:center;gap:13px;min-width:240px}.tpf-master-switch span{display:flex;flex-direction:column}.tpf-master-switch small{font-weight:400;color:#718077;line-height:1.3;margin-top:2px}.tpf-master-switch input{position:absolute;opacity:0;width:1px!important}.tpf-master-switch i{width:52px;height:29px;background:#bcc7c0;border-radius:999px;position:relative;flex:0 0 52px;transition:.2s}.tpf-master-switch i:after{content:"";position:absolute;width:23px;height:23px;background:#fff;border-radius:50%;left:3px;top:3px;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.15)}.tpf-master-switch input:checked+i{background:#1f8a58}.tpf-master-switch input:checked+i:after{transform:translateX(23px)}.tpf-weekly-schedule{border-top:1px solid var(--tpf-border);margin:6px 0 22px}.tpf-day{display:grid;grid-template-columns:145px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--tpf-border)}.tpf-day-name{display:flex;flex-direction:column;gap:5px}.tpf-add-slot{border:0;background:none;color:var(--tpf-green);padding:0;text-align:left;font-weight:700;cursor:pointer}.tpf-day-slots{display:grid;gap:8px}.tpf-slot{display:grid;grid-template-columns:minmax(115px,1fr) auto minmax(115px,1fr) 34px;align-items:center;gap:8px}.tpf-slot input{margin:0!important;min-height:40px}.tpf-slot span{color:var(--tpf-muted)}.tpf-remove-slot{width:32px;height:32px;border:0;border-radius:50%;background:#f3f3f3;font-size:21px;line-height:1;cursor:pointer}.tpf-request-list{display:grid}.tpf-request-item{display:grid;grid-template-columns:54px 1fr;gap:14px;padding:17px 0;border-top:1px solid var(--tpf-border)}.tpf-request-item:first-child{border-top:0}.tpf-request-avatar img{border-radius:50%}.tpf-request-top{display:flex;justify-content:space-between;gap:12px}.tpf-request-meta{font-size:13px;color:var(--tpf-muted);margin-top:3px}.tpf-request-copy p{margin:8px 0}.tpf-status{display:inline-block;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;font-style:normal}.tpf-status-pending{background:#fff3cc;color:#795b00}.tpf-status-accepted,.tpf-status-paid{background:#E7F1F8;color:#0A4D93}.tpf-status-denied,.tpf-status-cancelled,.tpf-status-failed{background:#f9e3e3;color:#923a3a}.tpf-inline-actions{display:flex;gap:8px;margin-top:10px}.tpf-simple-list>div{display:grid;grid-template-columns:1.4fr 1fr auto;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--tpf-border)}.tpf-simple-list span{color:var(--tpf-muted)}.tpf-empty{padding:25px;text-align:center;color:var(--tpf-muted)}.tpf-finder,.tpf-tournament-section{margin:34px 0}.tpf-finder-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:20px}.tpf-filters{display:flex;gap:9px;min-width:min(100%,430px)}.tpf-filters input,.tpf-filters select{margin:0}.tpf-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tpf-player-head{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}.tpf-player-head h3{font-size:20px;line-height:1.15;margin:0 0 6px}.tpf-player-head small{display:block;color:var(--tpf-muted);margin-top:5px}.tpf-player-bio{color:#526475;font-size:14px;min-height:42px}.tpf-next-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 9px}.tpf-slot-picks{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:13px}.tpf-slot-pick{border:1px solid var(--tpf-border);background:#fff;border-radius:10px;padding:8px 9px;text-align:left;cursor:pointer;color:inherit}.tpf-slot-pick strong,.tpf-slot-pick span{display:block;font-size:12px}.tpf-slot-pick span{color:var(--tpf-muted);margin-top:2px}.tpf-slot-pick.is-selected{border-color:var(--tpf-green);box-shadow:0 0 0 1px var(--tpf-green);background:#F5F9FC}.tpf-request-form textarea{min-height:70px}.tpf-span-all{grid-column:1/-1}.tpf-tournament-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tpf-tournament-card{display:grid;grid-template-columns:72px 1fr;gap:18px}.tpf-date-badge{background:#073D75;color:#fff;border-radius:14px;height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tpf-date-badge strong{font-size:27px;line-height:1}.tpf-date-badge span{font-size:11px;font-weight:800;letter-spacing:.08em;margin-top:4px}.tpf-tournament-copy h3{font-size:22px;margin:0 0 5px}.tpf-tournament-meta{color:var(--tpf-muted);font-size:13px;margin-bottom:10px}.tpf-tournament-copy p{font-size:14px}.tpf-tournament-bottom{display:flex;align-items:end;justify-content:space-between;gap:15px;border-top:1px solid var(--tpf-border);padding-top:14px;margin-top:14px}.tpf-tournament-bottom>div{display:flex;flex-direction:column}.tpf-tournament-bottom>div>strong{font-size:21px}.tpf-tournament-bottom small{color:var(--tpf-muted)}.tpf-registered{font-weight:800;color:#0A4D93}.tpf-soldout{font-weight:800;color:#923a3a}.tpf-notice-card{margin:30px 0}
@media(max-width:1050px){.tpf-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.tpf-dashboard{grid-template-columns:1fr}.tpf-sidebar{position:static}.tpf-profile-summary{display:flex;text-align:left;align-items:center;gap:14px;padding:18px}.tpf-profile-summary .tpf-avatar img{margin:0;width:62px;height:62px}.tpf-profile-summary h3{margin:0 0 5px}.tpf-tabs{display:flex;overflow:auto}.tpf-tab{white-space:nowrap;width:auto}.tpf-availability-header,.tpf-finder-head{flex-direction:column;align-items:stretch}.tpf-master-switch{justify-content:space-between}.tpf-tournament-grid{grid-template-columns:1fr}}
@media(max-width:620px){.tpf-card{padding:18px;border-radius:15px}.tpf-form-grid,.tpf-player-grid{grid-template-columns:1fr}.tpf-span-2{grid-column:auto}.tpf-filters{flex-direction:column}.tpf-day{grid-template-columns:1fr}.tpf-day-name{flex-direction:row;justify-content:space-between}.tpf-slot{grid-template-columns:1fr auto 1fr 32px;gap:5px}.tpf-slot input{padding:7px 5px}.tpf-player-grid{gap:13px}.tpf-slot-picks{grid-template-columns:1fr}.tpf-tournament-card{grid-template-columns:58px 1fr;gap:12px}.tpf-date-badge{height:65px}.tpf-tournament-bottom{align-items:stretch;flex-direction:column}.tpf-tournament-bottom .tpf-btn{width:100%}.tpf-simple-list>div{grid-template-columns:1fr}.tpf-request-top{align-items:flex-start}.tpf-inline-actions{flex-direction:column}.tpf-inline-actions .tpf-btn{width:100%}}

/* Dedicated player login */
.tpf-login-card{max-width:560px;margin:0 auto}.tpf-login-form-wrap #tpf-login-form p{margin:0 0 16px}.tpf-login-form-wrap #tpf-login-form label{display:block}.tpf-login-form-wrap #tpf-login-form input[type=text],.tpf-login-form-wrap #tpf-login-form input[type=password]{width:100%;margin-top:6px;border:1px solid #C9D9E7;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-login-form-wrap .login-remember label{display:inline-flex!important;align-items:center;gap:8px;font-weight:600}.tpf-login-form-wrap .login-remember input{width:18px;height:18px;margin:0}.tpf-login-form-wrap .login-submit{margin-top:20px!important}.tpf-login-form-wrap .button-primary{appearance:none;border:0;background:var(--tpf-green,#0A4D93);color:#fff;border-radius:999px;padding:12px 24px;min-height:45px;width:100%;font:inherit;font-weight:750;cursor:pointer;transition:.18s}.tpf-login-form-wrap .button-primary:hover{background:var(--tpf-green-dark,#073D75);transform:translateY(-1px)}.tpf-login-links{border-top:1px solid var(--tpf-border,#D8E5F0);margin-top:22px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}.tpf-login-links a{color:var(--tpf-green,#0A4D93);font-weight:750;text-decoration:none}.tpf-login-links a:hover{text-decoration:underline}.tpf-login-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:620px){.tpf-login-links{flex-direction:column;align-items:flex-start}.tpf-login-actions{flex-direction:column}.tpf-login-actions .tpf-btn{width:100%}}

/* Frontend-only authentication */
.tpf-auth-message{border-radius:11px;padding:12px 14px;margin:0 0 18px;font-size:14px;font-weight:700}.tpf-auth-message.is-error{background:#f9e3e3;color:#923a3a}.tpf-auth-message.is-success{background:#E7F1F8;color:#0A4D93}.tpf-frontend-login p{margin:0 0 16px}.tpf-frontend-login label{display:block}.tpf-frontend-login input[type=text],.tpf-frontend-login input[type=password]{width:100%;margin-top:6px;border:1px solid #C9D9E7;background:#fff;border-radius:11px;padding:11px 12px;min-height:45px;font:inherit;color:inherit}.tpf-frontend-login .login-remember label{display:inline-flex;align-items:center;gap:8px}.tpf-frontend-login .login-remember input{width:18px;height:18px;margin:0}

/* Profile photos */
.tpf-profile-photo{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.tpf-avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;flex:0 0 auto}.tpf-player-head .tpf-avatar{width:72px;height:72px}.tpf-avatar-large{width:120px;height:120px}.tpf-profile-photo-editor{display:flex;align-items:center;gap:22px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--tpf-border)}.tpf-photo-upload{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}.tpf-photo-upload span{font-size:12px;font-weight:400;color:var(--tpf-muted)}.tpf-photo-upload input[type=file]{margin-top:8px;padding:9px;background:#f7f9f7;max-width:100%}@media(max-width:620px){.tpf-profile-photo-editor{align-items:flex-start;flex-direction:column}.tpf-profile-summary .tpf-avatar{width:62px;height:62px}}

/* v2.5 availability repeat controls */
.tpf-slot .tpf-repeat-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#64747a;white-space:nowrap}.tpf-slot .tpf-repeat-label select{min-width:100px;padding:9px 28px 9px 10px;border:1px solid #dfe6e2;border-radius:8px;background:#fff;color:#062F59}.tpf-slot-picks{max-height:360px;overflow:auto;padding-right:4px}
@media(max-width:650px){.tpf-slot{flex-wrap:wrap}.tpf-slot .tpf-repeat-label{width:100%;justify-content:flex-start}.tpf-slot .tpf-repeat-label select{flex:1}.tpf-slot-picks{max-height:420px}}


/* v2.6 availability slot overflow fix */
.tpf-tab-panel{width:100%;max-width:100%;min-width:0;overflow:hidden}
.tpf-tab-panel *{box-sizing:border-box}
.tpf-day,.tpf-day-slots{width:100%;max-width:100%;min-width:0}
.tpf-slot{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(150px,.85fr) 34px;gap:10px;overflow:hidden}
.tpf-slot>input,.tpf-slot>select,.tpf-slot>label{min-width:0;max-width:100%}
.tpf-slot .tpf-repeat-label{width:100%;min-width:0;white-space:normal;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px}
.tpf-slot .tpf-repeat-label select{width:100%;min-width:0;max-width:100%;margin:0}
.tpf-slot .tpf-remove-slot{flex:0 0 32px}
@media(max-width:900px){.tpf-slot{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end}.tpf-slot .tpf-repeat-label{grid-column:1/3}.tpf-slot .tpf-remove-slot{grid-column:3;grid-row:2;justify-self:end}}
@media(max-width:620px){.tpf-tab-panel{padding-left:0;padding-right:0}.tpf-slot{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;border:1px solid var(--tpf-border);border-radius:12px;overflow:visible}.tpf-slot>span{display:none}.tpf-slot .tpf-repeat-label{grid-column:auto;grid-template-columns:1fr}.tpf-slot .tpf-repeat-label select{width:100%}.tpf-slot .tpf-remove-slot{grid-column:auto;grid-row:auto;justify-self:start;width:auto;height:auto;border-radius:8px;padding:7px 12px;font-size:14px}.tpf-slot .tpf-remove-slot:after{content:" Remove"}}


/* v2.6.1 hard containment fix for weekly availability */
.tpf-dashboard{min-width:0;max-width:100%}
.tpf-dashboard-main{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-dashboard-main>.tpf-tab-panel{min-width:0;max-width:100%;width:100%}
.tpf-dashboard-main>.tpf-tab-panel>.tpf-card{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-availability-form,.tpf-weekly-schedule{min-width:0;max-width:100%;width:100%}
.tpf-day{grid-template-columns:minmax(110px,145px) minmax(0,1fr);min-width:0;max-width:100%;width:100%}
.tpf-day-slots{min-width:0;max-width:100%;width:100%;overflow:hidden}
.tpf-slot{display:grid;width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(85px,1fr) 18px minmax(85px,1fr) minmax(125px,.9fr) 34px;gap:8px;align-items:center;overflow:hidden}
.tpf-slot>*{min-width:0;max-width:100%}
.tpf-slot>input[type=time]{width:100%!important;min-width:0!important;max-width:100%!important;padding-left:8px;padding-right:8px}
.tpf-slot .tpf-repeat-label{width:100%;min-width:0;max-width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:center;white-space:normal;overflow:hidden}
.tpf-slot .tpf-repeat-label select{width:100%!important;min-width:0!important;max-width:100%!important;padding-left:8px;padding-right:22px}
.tpf-slot .tpf-remove-slot{width:32px;min-width:32px;max-width:32px;justify-self:end}
@media(max-width:1050px){
  .tpf-day{grid-template-columns:1fr}
  .tpf-day-name{flex-direction:row;justify-content:space-between;align-items:center}
}
@media(max-width:760px){
  .tpf-slot{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 34px}
  .tpf-slot .tpf-repeat-label{grid-column:1/4;grid-row:2}
  .tpf-slot .tpf-remove-slot{grid-column:4;grid-row:2}
}
@media(max-width:520px){
  .tpf-slot{grid-template-columns:minmax(0,1fr);padding:12px;border:1px solid var(--tpf-border);border-radius:12px;gap:10px;overflow:hidden}
  .tpf-slot>span{display:none}
  .tpf-slot>input[type=time],.tpf-slot .tpf-repeat-label,.tpf-slot .tpf-remove-slot{grid-column:1;grid-row:auto}
  .tpf-slot .tpf-repeat-label{grid-template-columns:1fr}
  .tpf-slot .tpf-remove-slot{width:auto;min-width:0;max-width:none;height:auto;border-radius:8px;padding:8px 12px;justify-self:start;font-size:14px}
  .tpf-slot .tpf-remove-slot:after{content:" Remove"}
}

/* v2.6.2 - hard containment fix for repeat-weeks dropdown */
.tpf-card,
.tpf-card *{box-sizing:border-box}
.tpf-card{min-width:0;max-width:100%;overflow:hidden}
.tpf-weekly-schedule,
.tpf-day,
.tpf-day-slots{min-width:0;max-width:100%;width:100%}
.tpf-day{grid-template-columns:minmax(100px,145px) minmax(0,1fr)}
.tpf-day-slots{overflow:hidden}

/* Keep the time controls on row one and move Repeat to its own safe row. */
.tpf-slot{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 34px!important;
  grid-template-areas:
    "from dash to remove"
    "repeat repeat repeat repeat";
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.tpf-slot>*{min-width:0!important;max-width:100%!important}
.tpf-slot>input[type="time"]:first-of-type{grid-area:from}
.tpf-slot>span{grid-area:dash;text-align:center}
.tpf-slot>input[type="time"]:nth-of-type(2){grid-area:to}
.tpf-slot .tpf-remove-slot{grid-area:remove;width:32px!important;min-width:32px!important;max-width:32px!important;justify-self:end}
.tpf-slot .tpf-repeat-label{
  grid-area:repeat!important;
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:normal!important;
}
.tpf-slot .tpf-repeat-label select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:9px 28px 9px 10px!important;
  box-sizing:border-box!important;
}

@media(max-width:620px){
  .tpf-day{grid-template-columns:minmax(0,1fr)!important}
  .tpf-slot{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "from"
      "to"
      "repeat"
      "remove"!important;
    padding:12px!important;
  }
  .tpf-slot>span{display:none!important}
  .tpf-slot .tpf-repeat-label{grid-template-columns:minmax(0,1fr)!important}
  .tpf-slot .tpf-repeat-label select{width:100%!important}
  .tpf-slot .tpf-remove-slot{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    padding:8px 12px!important;
    border-radius:8px!important;
    justify-self:start!important;
  }
}

/* v2.7.0 - definitive weekly schedule containment + coach UI */
.tpf-dashboard-main,.tpf-tab-panel,.tpf-card,.tpf-availability-form,.tpf-weekly-schedule,.tpf-day,.tpf-day-slots{min-width:0!important;max-width:100%!important;width:100%;box-sizing:border-box}
.tpf-card{overflow:hidden!important}
.tpf-day{grid-template-columns:minmax(105px,145px) minmax(0,1fr)!important}
.tpf-day-slots{overflow:hidden!important}
.tpf-slot{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)!important;
  grid-template-areas:
    "from dash to"
    "repeat repeat remove"!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  align-items:center!important;
}
.tpf-slot>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.tpf-slot>input[type=time]:first-of-type{grid-area:from;width:100%!important;min-width:0!important}
.tpf-slot>span{grid-area:dash;text-align:center}
.tpf-slot>input[type=time]:nth-of-type(2){grid-area:to;width:100%!important;min-width:0!important}
.tpf-slot .tpf-repeat-label{
  grid-area:repeat!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.tpf-slot .tpf-repeat-label select{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
.tpf-slot .tpf-remove-slot{grid-area:remove!important;justify-self:end!important;width:32px!important;min-width:32px!important;max-width:32px!important}
.tpf-coach-dashboard{display:grid;gap:20px}.tpf-coach-specialty{margin:12px 0 0;color:var(--tpf-green)}.tpf-coach-card .tpf-response{margin-top:10px}
@media(max-width:1050px){.tpf-day{grid-template-columns:1fr!important}.tpf-day-name{flex-direction:row;justify-content:space-between;align-items:center}}
@media(max-width:620px){
 .tpf-slot{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"from" "to" "repeat" "remove"!important;padding:12px!important;border:1px solid var(--tpf-border)!important;border-radius:12px!important}
 .tpf-slot>span{display:none!important}.tpf-slot .tpf-repeat-label{display:grid!important;grid-template-columns:1fr!important;white-space:normal!important}.tpf-slot .tpf-repeat-label select{width:100%!important}.tpf-slot .tpf-remove-slot{width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:8px 12px!important;border-radius:8px!important;justify-self:start!important}
}

/* =========================================================
   TENNIS SITE HEADER / MOBILE NAV COMPATIBILITY - v2.9.0
   These rules support the optional external Campo40
   header markup and its hamburger button.
========================================================= */
.tennis-header {
  position: relative;
  z-index: 9999;
}

.tennis-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10002;
  -webkit-appearance: none;
  appearance: none;
}

.tennis-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: #062F59;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}

@media (max-width: 900px) {
  .tennis-menu-toggle { display: block; }

  .tennis-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10001;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: #fff;
    border-top: 1px solid #e2e7e3;
    border-bottom: 1px solid #e2e7e3;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }

  .tennis-navigation.is-open { display: flex !important; }

  .tennis-navigation > a {
    display: block;
    width: 100%;
    padding: 14px 5px;
    border-bottom: 1px solid #edf0ed;
    text-decoration: none;
    box-sizing: border-box;
  }

  .tennis-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .tennis-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .tennis-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


/* =========================================================
   TENNIS LEVEL GUIDE - v2.11.1
   Fixed centered panel so it cannot be clipped by the form/card.
========================================================= */
.tpf-field-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.tpf-level-field,
.tpf-field-label-row,
.tpf-level-help{
  min-width:0;
}
.tpf-register-form{
  overflow:visible!important;
}
.tpf-auth-shell{
  overflow:visible!important;
}
.tpf-level-help{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  z-index:1;
}
.tpf-level-help.is-open{
  z-index:1000001;
}
.tpf-level-help-toggle{
  width:24px;
  height:24px;
  min-width:24px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#EAF2F9;
  color:#0A4D93;
  font:700 14px/24px inherit;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
}
.tpf-level-help-toggle:hover,
.tpf-level-help-toggle:focus-visible,
.tpf-level-help.is-open .tpf-level-help-toggle{
  background:#0A4D93;
  color:#fff;
  outline:none;
}
.tpf-level-tooltip{
  position:fixed!important;
  z-index:1000000!important;
  left:50%!important;
  right:auto!important;
  top:50%!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  width:min(680px,calc(100vw - 40px))!important;
  max-width:calc(100vw - 40px)!important;
  max-height:min(720px,calc(100vh - 70px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  display:none;
  padding:24px 58px 22px 24px;
  border:1px solid #d8e4dc;
  border-radius:18px;
  background:#fff;
  color:#062F59;
  box-shadow:0 24px 70px rgba(16,47,33,.26);
  font-size:14px;
  font-weight:400;
  line-height:1.45;
  text-align:left;
  box-sizing:border-box!important;
}
.tpf-level-tooltip>strong{
  display:block;
  margin:0 0 14px;
  color:#073D75;
  font-size:20px;
  line-height:1.2;
}
.tpf-level-guide-row{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:14px;
  width:100%;
  min-width:0;
  padding:11px 0;
  border-top:1px solid #F2F6FA;
  box-sizing:border-box;
}
.tpf-level-guide-row:first-of-type{border-top:0}
.tpf-level-guide-row b{color:#0A4D93}
.tpf-level-guide-row span{min-width:0;overflow-wrap:anywhere}
.tpf-level-help.is-open .tpf-level-tooltip{display:block!important}
.tpf-level-help-close{
  position:sticky;
  float:right;
  top:0;
  right:0;
  z-index:2;
  width:36px;
  height:36px;
  min-width:36px;
  margin:-6px -40px 0 12px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#F2F6FA;
  color:#073D75;
  font:700 25px/36px Arial,sans-serif;
  text-align:center;
  cursor:pointer;
}
.tpf-level-help-close:hover,
.tpf-level-help-close:focus-visible{
  background:#0A4D93;
  color:#fff;
  outline:none;
}
@media(max-width:650px){
  .tpf-level-tooltip{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100vh - 32px)!important;
    padding:20px 50px 18px 18px;
    border-radius:16px;
  }
  .tpf-level-tooltip>strong{font-size:18px}
  .tpf-level-guide-row{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .tpf-level-help-close{margin:-4px -34px 0 10px}
}

/* v2.11 coach multi-session booking */
.tpf-coach-multi-slots .tpf-coach-slot-pick{position:relative;text-align:left}
.tpf-coach-multi-slots .tpf-coach-slot-pick small{display:block;margin-top:4px;font-size:12px;opacity:.75}
.tpf-coach-multi-slots .tpf-coach-slot-pick.is-selected{outline:2px solid var(--tpf-green);outline-offset:1px;background:#eff8f3}
.tpf-coach-multi-slots .tpf-coach-slot-pick.is-selected:after{content:'✓';position:absolute;top:7px;right:9px;font-weight:800;color:var(--tpf-green)}
.tpf-coach-booking-summary{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center;margin:14px 0 10px;padding:12px 14px;border:1px solid #dfe9e3;border-radius:12px;background:#f8fbf9;font-size:13px}
.tpf-coach-booking-summary strong{font-size:16px;color:var(--tpf-green);white-space:nowrap}
.tpf-coach-pay:disabled{opacity:.55;cursor:not-allowed}
.tpf-next-label small{font-weight:400;opacity:.7;margin-left:6px}
@media(max-width:560px){.tpf-coach-booking-summary{grid-template-columns:1fr 1fr}.tpf-coach-booking-summary strong{grid-column:1/-1}}

/* v2.12 player directory profile details + reliable filter visibility */
.tpf-player-card[hidden],.tpf-filter-empty[hidden]{display:none!important}
.tpf-player-card{display:flex;flex-direction:column;min-width:0}
.tpf-player-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 14px}
.tpf-player-detail{min-width:0;background:var(--tpf-soft,#F5F8FB);border:1px solid var(--tpf-border,#D8E5F0);border-radius:12px;padding:10px 11px}
.tpf-player-detail span,.tpf-player-about>span{display:block;color:var(--tpf-muted,#66788A);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.tpf-player-detail strong{display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.tpf-player-about{border-top:1px solid var(--tpf-border,#D8E5F0);border-bottom:1px solid var(--tpf-border,#D8E5F0);padding:13px 0;margin-bottom:2px}
.tpf-player-about p{margin:0;color:#526475;font-size:14px;line-height:1.55}
.tpf-filter-empty{grid-column:1/-1}
@media(max-width:900px){.tpf-player-details{grid-template-columns:1fr 1fr}.tpf-player-detail:last-child{grid-column:1/-1}}
@media(max-width:620px){.tpf-player-details{grid-template-columns:1fr}.tpf-player-detail:last-child{grid-column:auto}.tpf-finder-head{align-items:stretch}.tpf-filters{width:100%;min-width:0}}

/* v2.13 player details expansion + request badge */
.tpf-player-more{margin:14px 0;border:1px solid var(--tpf-border,#D6E3EE);border-radius:12px;overflow:hidden;background:#fff}
.tpf-player-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:13px 15px;font-weight:700;color:#173c2b;list-style:none}
.tpf-player-more summary::-webkit-details-marker{display:none}
.tpf-player-more summary span{font-size:22px;line-height:1;transition:transform .2s ease}
.tpf-player-more[open] summary span{transform:rotate(45deg)}
.tpf-player-more-body{padding:0 15px 15px;border-top:1px solid var(--tpf-border,#D6E3EE)}
.tpf-player-more-body .tpf-player-detail{padding:12px 0;border-bottom:1px solid #F2F6FA}
.tpf-player-more-body .tpf-player-about{padding-top:12px}
.tpf-player-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.tpf-player-socials a{display:inline-flex;padding:8px 11px;border-radius:999px;background:#f0f6f2;color:#0A4D93;text-decoration:none;font-weight:700;font-size:13px}
.tpf-request-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:auto;border-radius:999px;background:#d92929;color:#fff;font-size:12px;font-weight:800;line-height:1}
.tpf-tab[data-tab="requests"]{display:flex;align-items:center;gap:8px}
.tpf-verify-form{display:grid;gap:16px}
.tpf-verify-form label{display:grid;gap:7px;font-weight:700}
.tpf-verify-form input{width:100%;box-sizing:border-box}


/* ==========================================================
   CAMPO40 LANDING PAGE - v2.15
========================================================== */
body.tpf-landing-page {
  margin:0;
  background:#062F59;
}
body.tpf-landing-page .tennis-header,
body.tpf-landing-page .tennis-footer {
  display:none !important;
}
body.tpf-landing-page .tennis-site-content,
body.tpf-landing-page #content,
body.tpf-landing-page .site-content,
body.tpf-landing-page .entry-content {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
body.tpf-landing-page .entry-header,
body.tpf-landing-page .entry-title {
  display:none !important;
}
.tpf-landing {
  --tc-green:#9AC43C;
  --tc-navy:#062F59;
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:100vh;
  min-height:100svh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background-image:var(--tpf-landing-image);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  font-family:Arial,Helvetica,sans-serif;
}
.tpf-landing-overlay {
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(to bottom,rgba(6,23,29,.34) 0%,rgba(6,23,29,.05) 36%,rgba(6,23,29,.18) 58%,rgba(6,23,29,.88) 100%);
}
.tpf-landing-header {
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:38px 48px;
  box-sizing:border-box;
}
.tpf-landing-logo {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none !important;
  color:#fff !important;
}
.tpf-landing-logo-mark {
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--tc-green);
  color:var(--tc-navy);
  font-size:26px;
  font-weight:800;
  box-shadow:0 5px 20px rgba(0,0,0,.15);
}
.tpf-landing-logo-text {
  color:#fff;
  font-size:25px;
  font-weight:700;
  letter-spacing:-.5px;
}
.tpf-landing-logo-text span { color:var(--tc-green); }
.tpf-landing-content {
  flex:1;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:40px 48px;
  box-sizing:border-box;
  display:flex;
  align-items:flex-end;
}
.tpf-landing-copy {
  max-width:680px;
  margin-bottom:165px;
  color:#fff;
}
.tpf-landing-eyebrow {
  display:block;
  margin-bottom:15px;
  color:var(--tc-green);
  font-size:13px;
  font-weight:800;
  letter-spacing:2.5px;
}
.tpf-landing-copy h1 {
  max-width:720px;
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(45px,6vw,82px);
  line-height:.97;
  font-weight:800;
  letter-spacing:-3px;
  text-shadow:0 3px 25px rgba(0,0,0,.18);
}
.tpf-landing-copy p {
  max-width:510px;
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:18px;
  line-height:1.55;
}
.tpf-landing-actions {
  position:absolute;
  z-index:2;
  left:50%;
  bottom:42px;
  transform:translateX(-50%);
  width:calc(100% - 96px);
  max-width:1304px;
  display:flex;
  gap:14px;
}
.tpf-landing-btn {
  min-width:165px;
  padding:16px 30px;
  box-sizing:border-box;
  border-radius:8px;
  text-align:center;
  text-decoration:none !important;
  font-size:15px;
  font-weight:700;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.tpf-landing-btn:hover { transform:translateY(-2px); }
.tpf-landing-btn-primary {
  background:var(--tc-green);
  border:2px solid var(--tc-green);
  color:var(--tc-navy) !important;
}
.tpf-landing-btn-primary:hover { background:#A8D149; border-color:#A8D149; }
.tpf-landing-btn-secondary {
  background:rgba(255,255,255,.10);
  border:2px solid rgba(255,255,255,.82);
  color:#fff !important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.tpf-landing-btn-secondary:hover { background:#fff; border-color:#fff; color:var(--tc-navy) !important; }
@media (max-width:900px) {
  .tpf-landing-header { padding:28px 30px; }
  .tpf-landing-content { padding:30px; }
  .tpf-landing-copy { margin-bottom:150px; }
  .tpf-landing-copy h1 { letter-spacing:-2px; }
  .tpf-landing-actions { width:calc(100% - 60px); bottom:30px; }
}
@media (max-width:600px) {
  .tpf-landing { background-position:53% center; }
  .tpf-landing-header { padding:22px; }
  .tpf-landing-logo-mark { width:42px; height:42px; font-size:23px; }
  .tpf-landing-logo-text { font-size:21px; }
  .tpf-landing-content { padding:22px; }
  .tpf-landing-copy { margin-bottom:155px; }
  .tpf-landing-eyebrow { margin-bottom:10px; font-size:11px; letter-spacing:2px; }
  .tpf-landing-copy h1 { margin-bottom:13px; font-size:44px; line-height:1; letter-spacing:-1.8px; }
  .tpf-landing-copy p { max-width:340px; font-size:15px; line-height:1.45; }
  .tpf-landing-actions {
    left:22px;
    right:22px;
    bottom:22px;
    transform:none;
    width:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .tpf-landing-btn { min-width:0; padding:15px 12px; font-size:14px; }
}
@media (max-width:380px) {
  .tpf-landing-copy h1 { font-size:38px; }
  .tpf-landing-actions { grid-template-columns:1fr; }
  .tpf-landing-copy { margin-bottom:205px; }
}


/* v2.16: sex field/filter */
.tpf-sex-filter {
    width: 100%;
    max-width: 220px;
}
.tpf-player-sex {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--tpf-muted, #66756f);
}
@media (max-width: 700px) {
    .tpf-sex-filter { max-width: none; }
}


/* =========================================================
   CAMPO40 MOBILE APP SHELL - v2.17.0
   Fixed logo header + native-style bottom tab bar.
========================================================= */

.tpf-mobile-app-nav {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --tpf-mobile-topbar-h: 62px;
    --tpf-mobile-bottombar-h: 72px;
  }

  /* App top bar: use the theme's existing Campo40 header/logo. */
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10020;
    height: var(--tpf-mobile-topbar-h);
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #e5ece7;
    box-shadow: 0 3px 16px rgba(16,47,33,.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  body.admin-bar.tpf-app-shell:not(.tpf-landing-page) .tennis-header {
    top: 46px;
  }

  body.tpf-app-shell:not(.tpf-landing-page) .tennis-header-inner {
    width: 100%;
    min-height: var(--tpf-mobile-topbar-h) !important;
    height: var(--tpf-mobile-topbar-h);
    padding: 0 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.tpf-app-shell:not(.tpf-landing-page) .tennis-logo {
    margin: 0 auto;
    gap: 9px;
    position: relative;
    z-index: 2;
  }

  body.tpf-app-shell:not(.tpf-landing-page) .tennis-logo-mark {
    width: 37px !important;
    height: 37px !important;
    font-size: 20px !important;
  }

  body.tpf-app-shell:not(.tpf-landing-page) .tennis-logo-text {
    font-size: 19px !important;
    line-height: 1 !important;
  }

  /* The bottom app tabs replace the mobile hamburger menu. */
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-menu-toggle,
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-navigation {
    display: none !important;
  }

  /* Keep content clear of the two fixed bars. */
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-site-content {
    box-sizing: border-box;
    min-height: 100svh;
    padding-top: calc(var(--tpf-mobile-topbar-h) + 12px) !important;
    padding-bottom: calc(var(--tpf-mobile-bottombar-h) + 24px + env(safe-area-inset-bottom)) !important;
  }

  body.admin-bar.tpf-app-shell:not(.tpf-landing-page) .tennis-site-content {
    padding-top: calc(var(--tpf-mobile-topbar-h) + 58px) !important;
  }

  /* The full website footer is desktop/tablet only on mobile app pages. */
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-footer {
    display: none !important;
  }

  .tpf-mobile-app-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 10030;
    height: var(--tpf-mobile-bottombar-h);
    padding: 7px 6px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    align-items: stretch;
    background: rgba(255,255,255,.97);
    border: 1px solid #D8E5F0;
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(16,47,33,.18);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .tpf-mobile-app-link {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 2px;
    border-radius: 14px;
    color: #6c7770 !important;
    text-decoration: none !important;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
  }

  .tpf-mobile-app-link:focus-visible {
    outline: 2px solid #0A4D93;
    outline-offset: 1px;
  }

  .tpf-mobile-app-link.is-active {
    color: #0A4D93 !important;
    background: #F1F6FB;
  }

  .tpf-mobile-app-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    line-height: 1;
  }

  .tpf-mobile-app-icon svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tpf-mobile-app-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 750;
  }

  /* Give plugin screens a tighter app-like mobile canvas. */
  body.tpf-app-shell:not(.tpf-landing-page) .tpf-finder,
  body.tpf-app-shell:not(.tpf-landing-page) .tpf-dashboard,
  body.tpf-app-shell:not(.tpf-landing-page) .tpf-tournament-section,
  body.tpf-app-shell:not(.tpf-landing-page) .tpf-auth-shell,
  body.tpf-app-shell:not(.tpf-landing-page) .tpf-coach-dashboard {
    margin-top: 10px !important;
    margin-bottom: 14px !important;
  }

  body.tpf-app-shell:not(.tpf-landing-page) .tpf-card {
    box-shadow: 0 5px 20px rgba(20,48,32,.055);
  }
}

@media (max-width: 380px) {
  .tpf-mobile-app-nav {
    left: 6px;
    right: 6px;
  }
  .tpf-mobile-app-label {
    font-size: 9.5px;
  }
}


/* Mobile profile avatar + logout - v2.17.2 */
.tpf-mobile-profile-button{display:none}
@media (max-width:768px){
  .tpf-mobile-profile-button{
    position:fixed; top:10px; right:14px; z-index:10035;
    width:42px; height:42px; display:block; overflow:hidden;
    border-radius:50%; border:2px solid #fff; background:#F1F6FB;
    box-shadow:0 2px 12px rgba(16,47,33,.18)
  }
  body.admin-bar .tpf-mobile-profile-button{top:56px}
  .tpf-mobile-profile-button img,.tpf-mobile-profile-button .avatar{
    width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:50%
  }
  .tpf-mobile-profile-button:focus-visible{outline:2px solid #0A4D93;outline-offset:2px}
  .tpf-mobile-app-nav.has-logout{grid-template-columns:repeat(5,minmax(0,1fr))}
  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-label{font-size:9.5px}
}
@media (max-width:380px){
  .tpf-mobile-profile-button{right:10px;width:39px;height:39px}
  .tpf-mobile-app-nav.has-logout{left:4px;right:4px;padding-left:3px;padding-right:3px}
  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-label{font-size:8.8px}
}


/* Mobile app header refinements - v2.17.3 */
@media (max-width:768px){
  /* Logo aligned to the left rather than centered. */
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-header-inner{
    justify-content:flex-start !important;
    padding-left:14px !important;
    padding-right:92px !important;
  }
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-logo{
    margin:0 !important;
  }

  /* Avatar at top right with My Profile wording below it. */
  .tpf-mobile-profile-button{
    top:5px;
    right:10px;
    width:72px;
    height:54px;
    border:0;
    border-radius:0;
    overflow:visible;
    background:transparent;
    box-shadow:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:1px;
    text-decoration:none !important;
    color:#0A4D93 !important;
  }
  body.admin-bar .tpf-mobile-profile-button{top:51px}
  .tpf-mobile-profile-avatar{
    width:36px;
    height:36px;
    display:block;
    overflow:hidden;
    border-radius:50%;
    border:2px solid #fff;
    box-shadow:0 1px 7px rgba(16,47,33,.18);
    background:#F1F6FB;
  }
  .tpf-mobile-profile-avatar img,
  .tpf-mobile-profile-avatar .avatar{
    width:100%!important;
    height:100%!important;
    object-fit:cover;
    display:block;
    border-radius:50%;
  }
  .tpf-mobile-profile-label{
    display:block;
    font-size:9px;
    line-height:11px;
    font-weight:750;
    white-space:nowrap;
  }

  /* Logged-in bottom bar now has Players, Tournaments, Coaches, Logout. */
  .tpf-mobile-app-nav.has-logout{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-label{
    font-size:10.5px;
  }
}
@media (max-width:380px){
  body.tpf-app-shell:not(.tpf-landing-page) .tennis-header-inner{
    padding-left:10px !important;
    padding-right:78px !important;
  }
  .tpf-mobile-profile-button{
    right:5px;
    width:66px;
    height:53px;
  }
  .tpf-mobile-profile-avatar{
    width:34px;
    height:34px;
  }
}


/* Mobile bottom navigation spacing - v2.17.4 */
@media (max-width:768px){
  /* Logged out: exactly three equal tabs filling the full bar. */
  .tpf-mobile-app-nav.is-logged-out{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  /* Logged in: four equal tabs including Log Out. */
  .tpf-mobile-app-nav.has-logout{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .tpf-mobile-app-nav .tpf-mobile-app-link{
    width:100%;
    min-width:0;
    margin:0;
    justify-self:stretch;
  }
}


/* Fixed +1 phone prefix - v2.17.5 */
.tpf-phone-field{
  display:flex;
  width:100%;
  align-items:stretch;
}
.tpf-phone-prefix{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 48px;
  padding:0 10px;
  border:1px solid #d7e0da;
  border-right:0;
  border-radius:8px 0 0 8px;
  background:#f2f6f3;
  color:#243b31;
  font-weight:700;
  box-sizing:border-box;
}
.tpf-phone-field input.tpf-phone-local{
  flex:1 1 auto;
  min-width:0;
  border-radius:0 8px 8px 0 !important;
}


/* Mobile Login tab - v2.17.7 */
@media (max-width:768px){
  .tpf-mobile-app-nav.has-login{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}


/* Mobile horizontal-scroll cue under My Profile - v2.17.8 */
.tpf-mobile-scroll-cue{display:none}
@media (max-width:768px){
  .tpf-mobile-scroll-cue{
    position:fixed;
    top:62px;
    right:10px;
    z-index:10025;
    display:flex;
    align-items:center;
    gap:4px;
    padding:3px 7px;
    border-radius:0 0 8px 8px;
    background:rgba(255,255,255,.96);
    color:#0A4D93;
    font-size:9px;
    line-height:1;
    font-weight:750;
    box-shadow:0 3px 8px rgba(16,47,33,.08);
    pointer-events:none;
    animation:tpfSwipeCue 1.5s ease-in-out infinite;
  }
  body.admin-bar .tpf-mobile-scroll-cue{top:108px}
  .tpf-mobile-scroll-arrow{
    display:inline-block;
    font-size:14px;
    line-height:9px;
    font-weight:800;
  }
  @keyframes tpfSwipeCue{
    0%,100%{transform:translateX(0);opacity:.75}
    50%{transform:translateX(4px);opacity:1}
  }
  @media (prefers-reduced-motion:reduce){
    .tpf-mobile-scroll-cue{animation:none}
  }
}


/* Dashboard-only swipe cue - v2.17.9 */
.tpf-dashboard-swipe-cue{
  display:none;
}

@media (max-width:820px){
  .tpf-dashboard-swipe-cue{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:5px;
    width:100%;
    margin:-10px 0 2px;
    padding:0 8px;
    color:#0A4D93;
    font-size:11px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.01em;
    pointer-events:none;
    box-sizing:border-box;
  }

  .tpf-dashboard-swipe-arrow{
    display:inline-block;
    font-size:18px;
    line-height:1;
    font-weight:900;
    animation:tpfDashboardSwipeArrow 1.35s ease-in-out infinite;
  }

  @keyframes tpfDashboardSwipeArrow{
    0%,100%{transform:translateX(0);opacity:.72}
    50%{transform:translateX(6px);opacity:1}
  }

  @media (prefers-reduced-motion:reduce){
    .tpf-dashboard-swipe-arrow{animation:none}
  }

  /* Retire the previous fixed top-bar cue if older cached markup exists. */
  .tpf-mobile-scroll-cue{
    display:none!important;
  }
}


/* =========================================================
   MEMBER HOME DASHBOARD + GTA COURTS - v2.18
========================================================= */
.tpf-home-dashboard{max-width:1180px;margin:0 auto;padding:24px 18px 70px}
.tpf-home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:22px;background:linear-gradient(135deg,#0A4D93,#0f2b22);color:#fff;margin-bottom:22px}
.tpf-home-kicker{display:block;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#9AC43C;margin-bottom:8px}
.tpf-home-welcome h1{margin:0 0 8px;color:#fff;font-size:clamp(26px,4vw,42px);line-height:1.05}
.tpf-home-welcome p{margin:0;color:rgba(255,255,255,.78);max-width:620px}
.tpf-home-avatar{width:84px;height:84px;flex:0 0 84px;border-radius:50%;overflow:hidden;border:3px solid rgba(255,255,255,.86)}
.tpf-home-avatar img{width:100%!important;height:100%!important;object-fit:cover}
.tpf-home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:34px}
.tpf-home-action-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:165px;padding:20px;border:1px solid #dfe9e2;border-radius:18px;background:#fff;color:#0A4D93!important;text-decoration:none!important;box-shadow:0 5px 20px rgba(20,48,32,.055);transition:.18s ease}
.tpf-home-action-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(20,48,32,.10)}
.tpf-home-action-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#F1F6FB;color:#0A4D93;margin-bottom:22px}
.tpf-home-action-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tpf-home-action-copy{display:flex;flex-direction:column;gap:5px;padding-right:20px}
.tpf-home-action-copy strong{font-size:17px}
.tpf-home-action-copy small{color:#6b7a72;line-height:1.35}
.tpf-home-chevron{position:absolute;right:16px;bottom:16px;font-size:26px;color:#9bad9f}

.tpf-courts-directory{margin-top:20px}
.tpf-courts-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.tpf-courts-heading h2{margin:0 0 6px;font-size:28px;color:#0A4D93}
.tpf-courts-heading p{margin:0;color:#66756e}
.tpf-courts-count{white-space:nowrap;padding:8px 11px;border-radius:999px;background:#F1F6FB;color:#0A4D93;font-size:12px;font-weight:800}
.tpf-court-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px 190px;gap:10px;margin:0 0 16px}
.tpf-court-filters input,.tpf-court-filters select{width:100%;min-width:0;border:1px solid #d9e3dc;border-radius:11px;background:#fff;padding:11px 12px;box-sizing:border-box}
.tpf-court-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tpf-court-card{display:flex;flex-direction:column;min-width:0;padding:17px;border:1px solid #e1e9e4;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(20,48,32,.045)}
.tpf-court-card[hidden]{display:none!important}
.tpf-court-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}
.tpf-court-badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;background:#F1F6FB;color:#0A4D93}
.tpf-court-badge.is-private{background:#f4eef9;color:#6d3c86}
.tpf-court-badge.is-club{background:#edf3fb;color:#315c8b}
.tpf-court-city{font-size:11px;color:#7b8881;font-weight:700}
.tpf-court-card h3{margin:0 0 5px;font-size:17px;color:#0A4D93}
.tpf-court-address{margin:0 0 11px;color:#6D7F90;font-size:13px;line-height:1.4}
.tpf-court-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.tpf-court-meta span{padding:4px 7px;border-radius:7px;background:#f5f8f6;color:#54665d;font-size:10px;font-weight:700}
.tpf-court-notes{margin:0 0 12px;color:#707e77;font-size:12px;line-height:1.45}
.tpf-court-link{margin-top:auto;color:#0A4D93!important;text-decoration:none!important;font-size:12px;font-weight:800}
.tpf-court-empty{padding:28px;text-align:center;color:#6D7F90;background:#fff;border:1px dashed #ccd9d1;border-radius:14px}
.tpf-courts-source-note{font-size:11px;color:#7c8982;margin:14px 2px 0}

@media(max-width:900px){
  .tpf-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tpf-court-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .tpf-home-dashboard{padding:12px 12px 95px}
  .tpf-home-welcome{padding:20px;border-radius:17px}
  .tpf-home-avatar{width:62px;height:62px;flex-basis:62px}
  .tpf-home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:28px}
  .tpf-home-action-card{min-height:142px;padding:15px;border-radius:15px}
  .tpf-home-action-icon{width:42px;height:42px;margin-bottom:16px}
  .tpf-home-action-copy strong{font-size:15px}
  .tpf-home-action-copy small{font-size:11px}
  .tpf-courts-heading{align-items:flex-start}
  .tpf-courts-heading h2{font-size:23px}
  .tpf-courts-count{font-size:10px;padding:6px 8px}
  .tpf-court-filters{grid-template-columns:1fr 1fr}
  .tpf-court-search{grid-column:1/-1}
  .tpf-court-grid{grid-template-columns:1fr}
}


/* Dashboard court card / five-card layout - v2.18.1 */
@media(min-width:901px){
  .tpf-home-actions{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .tpf-home-action-card{
    min-height:155px;
  }
}

/* Tournament bracket - v2.18.2 */
.tpf-public-bracket{width:100%;padding:18px 0 4px;border-top:1px solid #e3ebe6;margin-top:18px}
.tpf-public-bracket>h3{margin:0 0 14px;color:#0A4D93}
.tpf-bracket-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:10px}
.tpf-bracket{display:flex;gap:18px;min-width:max-content;align-items:stretch}
.tpf-bracket-round{width:220px;display:flex;flex-direction:column}
.tpf-bracket-round h4{text-align:center;margin:0 0 10px;color:#52645a;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.tpf-bracket-round-matches{display:flex;flex-direction:column;justify-content:space-around;gap:14px;flex:1}
.tpf-bracket-match{position:relative;border:1px solid #dce6df;border-radius:10px;background:#fff;overflow:hidden;min-height:76px}
.tpf-bracket-player{display:flex;justify-content:space-between;gap:8px;padding:9px 10px;font-size:12px}
.tpf-bracket-player+.tpf-bracket-player{border-top:1px solid #F2F6FA}
.tpf-bracket-player.is-winner{background:#edf8f1;color:#0A4D93;font-weight:800}
.tpf-bracket-player strong{white-space:nowrap}
@media(max-width:650px){.tpf-public-bracket{padding-top:14px}.tpf-bracket-round{width:190px}}


/* Tournament walkover / retirement result label - v2.18.3 */
.tpf-bracket-result-type{
  padding:5px 9px;
  border-top:1px solid #F2F6FA;
  background:#fff8e8;
  color:#75561c;
  font-size:10px;
  line-height:1.25;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}


/* Mobile bottom navigation: keep all five logged-in icons on one line - v2.18.6 */
@media (max-width:768px){
  .tpf-mobile-app-nav.has-logout{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:0 !important;
    padding-left:2px !important;
    padding-right:2px !important;
  }

  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-link{
    min-width:0 !important;
    padding-left:1px !important;
    padding-right:1px !important;
    gap:2px !important;
  }

  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-icon{
    width:22px !important;
    height:22px !important;
  }

  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-icon svg{
    width:21px !important;
    height:21px !important;
  }

  .tpf-mobile-app-nav.has-logout .tpf-mobile-app-label{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:9px !important;
    line-height:1.05 !important;
  }

  .tpf-mobile-app-nav.has-login{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

/* Coach platform-fee consent - v2.18.7 */
.tpf-coach-fee-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:16px 0;
  padding:14px;
  border:1px solid #D6E3EE;
  border-radius:11px;
  background:#F6F9FC;
  color:#43534a;
  font-size:13px;
  line-height:1.45;
}
.tpf-coach-fee-consent[hidden]{display:none!important}
.tpf-coach-fee-consent input{width:18px!important;height:18px;margin:2px 0 0;flex:0 0 18px}

/* Legal consent/footer v2.18.8 */
.tpf-registration-consents{display:grid;gap:10px;margin:16px 0}.tpf-legal-consent{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #D6E3EE;border-radius:11px;background:#F6F9FC;font-size:13px;line-height:1.45}.tpf-legal-consent[hidden]{display:none!important}.tpf-legal-consent input{width:18px!important;height:18px!important;min-width:18px;margin:2px 0 0!important}.tpf-legal-consent a{font-weight:700;text-decoration:underline}.tpf-legal-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;padding:18px 15px 92px;border-top:1px solid #edf1ee;background:#fff;font-size:12px}.tpf-legal-footer a{color:#53645a;text-decoration:none}@media(min-width:769px){.tpf-legal-footer{padding-bottom:18px}}

.tpf-legal-popup{display:none}
@media(max-width:768px){
body.tpf-legal-popup-open{overflow:hidden!important}.tpf-legal-popup.is-open{display:block!important;position:fixed;inset:0;z-index:1000000}.tpf-legal-popup-backdrop{position:absolute;inset:0;background:rgba(10,20,14,.65)}.tpf-legal-popup-panel{position:absolute;left:10px;right:10px;top:max(12px,env(safe-area-inset-top));bottom:max(12px,env(safe-area-inset-bottom));background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3)}.tpf-legal-popup-top{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 18px;border-bottom:1px solid #e7ece8}.tpf-legal-popup-top button{width:40px;height:40px;border:0;border-radius:50%;background:#eef4f0;color:#173d29;font-size:29px;display:grid;place-items:center}.tpf-legal-popup-frame{width:100%;height:100%;flex:1;border:0;background:#fff}}


/* Campo40 legal popup reliability fixes - v2.19.1 */
@media(max-width:900px){
  .tpf-legal-popup.is-open{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .tpf-legal-popup-panel{
    z-index:2!important;
  }
  .tpf-legal-popup-backdrop{
    z-index:1!important;
  }
  .tpf-legal-popup-frame{
    min-height:0!important;
  }
}

/* Registration legal popup fixes - v2.19.2 */
@media(max-width:900px){
 .tpf-legal-popup.is-open{display:block!important;visibility:visible!important;opacity:1!important}
 .tpf-legal-popup-panel{z-index:2!important}
 .tpf-legal-popup-backdrop{z-index:1!important}
 .tpf-legal-popup-top{position:relative;z-index:3;background:#fff}
 .tpf-legal-popup-top button{cursor:pointer}
}

/* Highlight Find a Player on Home dashboard - v2.19.6 */
.tpf-home-action-card.tpf-home-action-featured{background:#e8f6ed;border-color:#b9dcc6}
.tpf-home-action-card.tpf-home-action-featured:hover{background:#def1e5;border-color:#9fceb0}

/* Landing guide links v2.19.8 */
.tpf-landing-guide-links{width:100%;margin-top:16px;text-align:center;color:#fff}
.tpf-landing-guide-links>strong{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#fff}
.tpf-landing-guide-options{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}
.tpf-landing-guide-options a{color:#fff!important;font-size:13px;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.5);padding-bottom:2px}
.tpf-landing-guide-options a:hover{opacity:.82;border-bottom-color:#fff}
@media(max-width:600px){.tpf-landing-guide-links{margin-top:14px;padding:0 10px}.tpf-landing-guide-options{flex-direction:column;gap:7px}.tpf-landing-guide-options a{font-size:12px}}


/* Landing guide links refinement - v2.19.9 */
.tpf-landing-guide-links{
  margin-top:14px!important;
  text-align:center!important;
  color:rgba(255,255,255,.88)!important;
}
.tpf-landing-guide-label{
  display:block!important;
  margin-bottom:5px!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:600!important;
  color:rgba(255,255,255,.78)!important;
}
.tpf-landing-guide-options{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
}
.tpf-landing-guide-options a{
  display:inline!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.tpf-landing-guide-options a:hover{opacity:.82!important;border:0!important}
.tpf-landing-guide-dot{
  display:inline-block!important;
  color:rgba(255,255,255,.45)!important;
  font-size:11px!important;
  line-height:1!important;
}

@media(max-width:600px){
  .tpf-landing-guide-links{margin-top:12px!important;padding:0 8px!important}
  .tpf-landing-guide-label{margin-bottom:4px!important;font-size:11px!important}
  .tpf-landing-guide-options{gap:7px!important}
  .tpf-landing-guide-options a{font-size:11px!important}
}


/* Tournament draw layout fix - v2.20.0
   The bracket is the third child of a 2-column tournament card.
   Force it to span both internal columns, and let published brackets
   use the full tournament grid width on desktop. */
.tpf-tournament-card-with-bracket{
    grid-column:1 / -1;
}

.tpf-tournament-card .tpf-public-bracket{
    grid-column:1 / -1;
    width:100%;
    min-width:0;
}

.tpf-tournament-card .tpf-public-bracket .tpf-bracket-wrap{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}

.tpf-tournament-card .tpf-public-bracket .tpf-bracket{
    width:max-content;
    min-width:100%;
}

@media(max-width:820px){
    .tpf-tournament-card-with-bracket{
        grid-column:auto;
    }
}

@media(max-width:620px){
    .tpf-tournament-card{
        grid-template-columns:58px minmax(0,1fr);
        gap:14px;
    }

    .tpf-tournament-card .tpf-public-bracket{
        margin-left:0;
        margin-right:0;
    }
}


/* Full-width standalone tournament draw - v2.20.1 */
.tpf-tournament-draw-card{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    padding:26px !important;
    overflow:visible !important;
}

.tpf-tournament-draw-card .tpf-public-bracket{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border-top:0 !important;
    overflow:visible !important;
}

.tpf-tournament-draw-card .tpf-public-bracket>h3{
    margin:0 0 18px !important;
    font-size:24px !important;
    color:#0A4D93 !important;
}

.tpf-tournament-draw-card .tpf-bracket-wrap{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    -webkit-overflow-scrolling:touch;
    padding:4px 2px 14px !important;
}

.tpf-tournament-draw-card .tpf-bracket{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:20px !important;
    width:max-content !important;
    min-width:max-content !important;
    max-width:none !important;
}

.tpf-tournament-draw-card .tpf-bracket-round{
    flex:0 0 220px !important;
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
}

.tpf-tournament-draw-card .tpf-bracket-player span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* On a normal desktop a 16-player draw is approximately 940px wide,
   so give the tournament section the available content width. */
.tpf-tournament-section{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
}

@media(max-width:820px){
    .tpf-tournament-draw-card{
        padding:20px !important;
    }

    .tpf-tournament-draw-card .tpf-bracket-round{
        flex-basis:200px !important;
        width:200px !important;
        min-width:200px !important;
        max-width:200px !important;
    }
}

@media(max-width:620px){
    .tpf-tournament-draw-card{
        padding:18px !important;
    }

    .tpf-tournament-draw-card .tpf-public-bracket>h3{
        font-size:21px !important;
    }

    .tpf-tournament-draw-card .tpf-bracket-wrap{
        margin-right:-6px !important;
    }

    .tpf-tournament-draw-card .tpf-bracket-round{
        flex-basis:185px !important;
        width:185px !important;
        min-width:185px !important;
        max-width:185px !important;
    }
}


/* =========================================================
   CAMPO40 BRAND PALETTE - v2.20.2
   Sampled from supplied Campo40 logo
   Primary Blue: #0A4D93
   Tennis Lime:  #9AC43C
========================================================= */
:root {
    --campo40-blue: #0A4D93;
    --campo40-blue-dark: #073D75;
    --campo40-blue-deep: #062F59;
    --campo40-lime: #9AC43C;
    --campo40-lime-dark: #7EA92C;
    --campo40-blue-soft: #F1F6FB;
    --campo40-blue-border: #D8E5F0;
}

/* Primary UI actions */
.tpf-btn,
.tpf-button,
button.tpf-btn,
input.tpf-btn,
.tpf-home-action-card .tpf-home-action-icon {
    background-color: var(--campo40-blue);
}

/* Brand-accent actions */
.tpf-btn:hover,
.tpf-button:hover {
    border-color: var(--campo40-blue-dark);
}

/* The "Find a Player" feature card keeps a light accent,
   now based on the logo's lime instead of the former green. */
.tpf-home-action-card.tpf-home-action-featured {
    background: #F4F9E9 !important;
    border-color: #D4E5A9 !important;
}
.tpf-home-action-card.tpf-home-action-featured:hover {
    background: #EEF6DD !important;
    border-color: #C5DA8F !important;
}

/* Bracket winners and selected/highlighted states */
.tpf-bracket-player.is-winner,
.tpf-bracket-player.winner {
    background: #F3F8E8;
}

/* Focus ring based on brand blue */
.tpf-wrap input:focus,
.tpf-wrap select:focus,
.tpf-wrap textarea:focus {
    border-color: var(--campo40-blue) !important;
    box-shadow: 0 0 0 3px rgba(10,77,147,.12) !important;
    outline: none;
}


/* Player admin bulk management - v2.20.3 */
.tpf-admin-player-table .check-column{width:34px}
.tpf-admin-player-table .tpf-single-verify-email{margin-left:3px}
.tpf-admin .tablenav .bulkactions select{min-width:260px}
