/* Sport 7.14.90: Pingpong schedule / RSVP – scoped, light + dark. */
.pp-terms{max-width:1240px;margin:0 auto;color:var(--text,#172849)}
.pp-terms .page-heading{align-items:center;gap:14px}
.pp-terms-heading h1{margin-bottom:5px}
.pp-terms-heading p{max-width:760px}
.pp-terms-list{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.pp-terms-tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:6px 8px;margin:14px 0 16px;background:var(--surface,#fff);border:1px solid var(--line,#dce7f3);border-radius:16px}
.pp-terms-tabs a{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;text-decoration:none;border-radius:12px;color:var(--muted,#617089);font-weight:800;font-size:13px}
.pp-terms-tabs a.active{background:var(--primary-soft,#e9f3ff);color:var(--primary,#116de0)}
.pp-terms-tabs a:hover{background:var(--surface-2,#f2f7fd)}
.pp-terms-tabs b{font-size:11px;font-weight:900;border-radius:999px;padding:3px 7px;background:var(--surface-2,#e9eef7)}
.pp-term-card{border:1px solid var(--line,#d9e3f0);border-left:3px solid #2379e5;border-radius:16px;background:var(--surface,#fff);box-shadow:0 4px 19px rgba(34,63,111,.05);padding:14px 14px 12px;min-width:0;overflow:hidden}
.pp-term-card.is-cancelled{opacity:.75;border-left-color:#8896a9}
.pp-term-top{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(140px,200px);align-items:start;gap:18px;min-width:0}
.pp-term-date{background:var(--primary-soft,#e9f3ff);border-radius:13px;min-width:0;display:flex;flex-direction:column;padding:11px 12px;color:var(--primary,#1269ed);font-variant-numeric:tabular-nums}
.pp-term-date small{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.035em}
.pp-term-date strong{font-size:28px;font-weight:900;line-height:1.15}
.pp-term-date span{font-size:12px;font-weight:750;white-space:nowrap}
.pp-term-info{min-width:0;padding-top:3px}
.pp-term-info h2{margin:0 0 6px;font-size:18px;line-height:1.3;font-weight:850;color:var(--text,#152749)}
.pp-term-info p{margin:4px 0;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted,#586b84);line-height:1.5}
.pp-term-info p svg{height:15px;width:15px;flex:none;stroke:currentColor;fill:none}
.pp-term-info .pp-term-note{display:block;max-width:700px;color:var(--text,#152749);background:var(--surface-2,#f4f7fd);padding:6px 9px;border-radius:9px;overflow-wrap:anywhere}
.pp-term-cap{text-align:right;padding-top:5px;min-width:0;color:var(--text,#152749)}
.pp-cap-label{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.pp-cap-label strong{font-size:21px;line-height:1.2;font-weight:900;white-space:nowrap;color:var(--primary,#1269ed)}
.pp-cap-label span{font-size:11px;color:var(--muted,#65748a);font-weight:700}
.pp-cap-track{width:100%;height:7px;border-radius:999px;background:var(--surface-3,#e4ecf5);margin-top:11px;overflow:hidden}
.pp-cap-track i{height:100%;display:block;max-width:100%;background:linear-gradient(90deg,#2480f8,#0aad6b);border-radius:inherit}
.pp-term-cap>small{display:block;font-size:11px;color:var(--bad,#be4055);margin-top:5px}
.pp-rsvp{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line-soft,#ebeff5)}
.pp-answer{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:41px;padding:9px;border-radius:10px;background:var(--surface-2,#f7f9fc);border:1px solid var(--line,#dce5f1);color:var(--muted,#52637b);cursor:pointer;font-weight:800;font-size:12px;transition:background .12s,border-color .12s}
.pp-answer svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.3}
.pp-answer:hover{background:var(--primary-soft,#e7f2ff)}
.pp-answer.is-yes{color:#0b8d53}
.pp-answer.is-yes.selected{border-color:#0d9a5b;background:rgba(18,172,103,.10)}
.pp-answer.selected:not(.is-yes){border-color:var(--primary,#116de0);color:var(--primary,#116de0);background:var(--primary-soft,#eaf2ff)}
.pp-my-state{margin-top:10px;font-size:12px;color:var(--muted,#53627a);font-weight:650}
.pp-my-state strong{color:var(--text,#18294c)}
.pp-my-state.playing strong{color:#0a985c}
.pp-my-state.waitlist strong{color:#d18a0a}
.pp-closed,.pp-login-note{margin:11px 0 1px;padding-top:9px;border-top:1px solid var(--line-soft,#e9edf6);color:var(--muted,#63748c);font-size:12px}
.pp-closed svg{width:15px;height:15px;vertical-align:-3px;margin-right:5px;fill:none;stroke:currentColor}
.pp-roster,.pp-edit{margin-top:11px;border-top:1px solid var(--line-soft,#e9edf6);padding-top:9px}
.pp-roster summary,.pp-edit summary{cursor:pointer;display:flex;align-items:center;gap:7px;min-height:30px;font-size:12px;color:var(--muted,#5a6c85);font-weight:750;list-style:none}
.pp-roster summary::-webkit-details-marker,.pp-edit summary::-webkit-details-marker,.pp-admin-panel>summary::-webkit-details-marker{display:none}
.pp-roster summary span{margin-left:auto;display:inline-flex}
.pp-roster summary svg,.pp-edit summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.pp-roster-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;padding:10px 0 2px}
.pp-roster-grid>div{padding:10px 12px;border:1px solid var(--line,#e1e7f1);border-radius:11px;background:var(--surface-2,#f6f9fd)}
.pp-roster-grid strong{font-size:12px}
.pp-roster-grid p{font-size:12px;line-height:1.55;margin:6px 0 0;color:var(--muted,#63748a);overflow-wrap:anywhere}
.pp-admin-panel{border:1px solid var(--line,#d8e3f1);border-radius:15px;background:var(--surface,#fff);margin-bottom:13px;scroll-margin-top:90px}
.pp-admin-panel>summary{display:flex;align-items:center;gap:9px;padding:15px 18px;cursor:pointer;font-size:14px;list-style:none}
.pp-admin-panel>summary>svg{width:20px;height:20px;fill:none;stroke:var(--primary,#1669ef);stroke-width:2.3}
.pp-admin-panel>summary span{margin-left:auto;color:var(--muted,#6c7c93);font-size:12px}
.pp-admin-panel[open]>summary{border-bottom:1px solid var(--line-soft,#e9edf5)}
.pp-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:14px 18px 18px}
.pp-editor label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:var(--muted,#5f7189);min-width:0}
.pp-editor input,.pp-editor textarea{width:100%;min-width:0;min-height:43px;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line,#d8e2f0);border-radius:9px;background:var(--surface,#fff);color:var(--text,#1c2945);font-size:16px;font-family:inherit;font-weight:600}
.pp-editor textarea{resize:vertical}
.pp-editor input:focus,.pp-editor textarea:focus{outline:2px solid var(--primary,#1269e9);outline-offset:1px}
.pp-editor-wide{grid-column:span 2}
.pp-editor>.btn{align-self:end;min-height:43px}
.pp-edit .pp-editor{padding:10px 0}
.pp-edit .pp-status-form{padding:8px 0 1px}
.pp-admin-note,.pp-terms-footnote{color:var(--muted,#61738a);font-size:12px;line-height:1.6;margin:3px 18px 16px}
.pp-terms-footnote{margin:8px 0 22px}
.pp-empty{padding:40px 20px;text-align:center;margin-bottom:16px}
.pp-empty-icon{display:inline-grid;place-items:center;border-radius:16px;width:58px;height:58px;background:var(--primary-soft,#e9f3ff);color:var(--primary,#1473e7)}
.pp-empty-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}
.pp-empty h2{margin:13px 0 6px;font-size:20px}
.pp-empty p{margin:0;color:var(--muted,#5b708b);font-size:13px}
@media(max-width:780px){
  .pp-terms .page-heading{align-items:flex-start;flex-wrap:wrap}
  .pp-term-top{grid-template-columns:91px minmax(0,1fr);gap:10px}
  .pp-term-date{padding:9px 7px}
  .pp-term-date strong{font-size:23px}
  .pp-term-date span{font-size:10px}
  .pp-term-cap{grid-column:1/-1;padding:3px 0;text-align:left}
  .pp-cap-label{justify-content:flex-start}
  .pp-cap-track{margin-top:6px}
  .pp-term-info h2{font-size:16px}
  .pp-editor{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 12px}
  .pp-editor-wide{grid-column:1/-1}
  .pp-admin-panel>summary{padding:12px}
  .pp-admin-panel>summary span{display:none}
}
@media(max-width:480px){
  .pp-terms-tabs{gap:2px;padding:5px}
  .pp-terms-tabs a{padding:9px 8px;font-size:11px;gap:4px}
  .pp-terms-tabs b{padding:2px 5px;font-size:10px}
  .pp-term-card{padding:11px 10px;border-radius:13px}
  .pp-rsvp{gap:4px}
  .pp-answer{padding:8px 3px;font-size:11px;gap:3px}
  .pp-answer svg{width:14px;height:14px}
  .pp-editor{grid-template-columns:minmax(0,1fr)}
  .pp-editor-wide{grid-column:auto}
  .pp-term-info p{font-size:11px}
}


/* 7.14.91: weekly recurrence form */
.pp-repeat-days{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}
.pp-repeat-days>strong{font-size:12px;font-weight:800;color:var(--muted,#63738b)}
.pp-weekday-options{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.pp-weekday-options label{display:inline-flex;position:relative;flex:0 0 auto;cursor:pointer}
.pp-weekday-options input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;border:0}
.pp-weekday-options span{display:grid;place-items:center;min-width:44px;min-height:42px;border:1px solid var(--line,#d7e1f1);border-radius:11px;background:var(--surface-2,#f5f8fd);font-size:13px;font-weight:800;color:var(--text,#19345b);transition:background .12s,border-color .12s}
.pp-weekday-options input:checked+span{background:var(--primary-soft,#dfeeff);border-color:var(--primary,#166de5);color:var(--primary,#166de5);box-shadow:inset 0 0 0 1px var(--primary,#166de5)}
.pp-weekday-options input:focus-visible+span{outline:3px solid var(--primary,#1769e0);outline-offset:3px}
.pp-repeat-submit{grid-column:span 3;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pp-repeat-submit>small{font-size:11px;color:var(--muted,#60738a);line-height:1.45;max-width:700px}
.pp-repeat-submit>.btn{min-height:43px}
.pp-roster-people{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:8px}
.pp-roster-person{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;background:var(--surface,#fff);border:1px solid var(--line,#e0e8f3);border-radius:9px;color:var(--text,#142d50);font-size:11px;font-weight:750;max-width:100%;overflow-wrap:anywhere}
.pp-category-tag{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:10px;line-height:1.2;font-weight:850;border:1px solid transparent}
.pp-category-tag.category-vip{color:#8f5900;background:#fff3d7;border-color:#edc978}
.pp-category-tag.category-member{color:#0c62bd;background:#e7f2ff;border-color:#bad8ff}
.pp-category-tag.category-other{color:#66768c;background:var(--surface-2,#eff3fa);border-color:var(--line,#dce5ee)}

/* Dedicated all-players directory */
.pp-category-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 14px}
.pp-category-summary>div{border-radius:14px;border:1px solid var(--line,#d8e4f2);background:var(--surface,#fff);padding:12px 15px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.pp-category-summary small{color:var(--muted,#65748b);font-weight:750}
.pp-category-summary strong{color:var(--text,#1a2f51);font-size:23px;font-weight:900;font-variant-numeric:tabular-nums}
.pp-player-filters{display:flex;align-items:end;flex-wrap:wrap;gap:9px;padding:12px;border:1px solid var(--line,#dce6f2);border-radius:14px;background:var(--surface,#fff)}
.pp-player-filters label{display:flex;flex-direction:column;min-width:140px;gap:5px;font-size:11px;font-weight:800;color:var(--muted,#62748c)}
.pp-player-filters label:first-child{flex:1 1 200px}
.pp-player-filters :is(input,select),.pp-player-category-editor select{min-height:42px;padding:8px 11px;border-radius:9px;border:1px solid var(--line,#d5e0ef);background:var(--surface,#fff);color:var(--text,#12254c);font-size:14px;min-width:0}
.pp-player-filters :is(input,select){width:100%}
.pp-player-filters .btn{min-height:42px}
.pp-results-count{margin:12px 2px;font-size:12px;color:var(--muted,#66758b)}
.pp-player-list{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
.pp-player-row{border-radius:14px;border:1px solid var(--line,#dee6f0);background:var(--surface,#fff);padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;min-width:0}
.pp-player-main{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:var(--text,#152849)}
.pp-player-main:hover .pp-player-details strong{text-decoration:underline;color:var(--primary,#126ce5)}
.pp-player-main .pp-directory-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;background:var(--primary-soft,#e8f1ff);color:var(--primary,#1469e0);font-weight:850;overflow:hidden}
.pp-player-main .pp-directory-avatar img{width:100%;height:100%;object-fit:cover}
.pp-player-details{display:flex;flex-direction:column;min-width:0;gap:3px}
.pp-player-details strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.pp-player-details>span{color:var(--muted,#65728a);font-size:11px;overflow-wrap:anywhere}
.pp-player-rating{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted,#617088)}
.pp-player-rating>span{white-space:nowrap;border-radius:8px;background:var(--surface-2,#f3f7fc);padding:7px 8px}
.pp-player-rating strong{font-size:14px;color:var(--text,#132546);margin-left:4px}
.pp-player-category-editor{display:flex;align-items:center;gap:6px}
.pp-player-category-editor select{width:105px}
.pp-player-category-editor .btn{min-height:42px;padding-inline:12px}
.pp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pp-registrants{padding-bottom:12px}
.pp-registrants>p{font-size:12px;line-height:1.5;color:var(--muted,#667891);margin:10px 16px}
.pp-registrant-list{display:flex;flex-wrap:wrap;gap:6px;margin:0 16px 12px}
.pp-registrant-list>span{font-size:12px;border:1px solid var(--line,#dce4ef);border-radius:9px;padding:6px 9px}
.pp-registrants>a{margin-left:16px}

@media(max-width:780px){.pp-repeat-submit{grid-column:1/-1}.pp-category-summary{gap:6px}.pp-category-summary>div{padding:10px}.pp-player-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}.pp-player-rating{grid-column:1}.pp-player-category-editor{grid-column:2;grid-row:1/span 2}}
@media(max-width:480px){.pp-category-summary>div{flex-direction:column;gap:2px}.pp-category-summary strong{font-size:20px}.pp-weekday-options span{min-width:39px;min-height:40px}.pp-weekday-options{gap:5px}.pp-player-row{grid-template-columns:minmax(0,1fr)}.pp-player-category-editor{grid-column:1;grid-row:auto}.pp-player-rating{grid-column:1}.pp-player-category-editor select{flex:1 1 auto;max-width:200px}}
/* Seven Pingpong tabs, all kept accessible on mobile without clipping labels. */
@media(max-width:760px){
  .bottom-nav.bottom-nav-pingpong-seven{grid-template-columns:repeat(7,minmax(0,1fr));padding-left:2px;padding-right:2px}
  .bottom-nav.bottom-nav-pingpong-seven a{min-width:0;gap:1px;padding-left:0;padding-right:0}
  .bottom-nav.bottom-nav-pingpong-seven a small{font-size:clamp(7px,1.9vw,9px)!important;letter-spacing:-.03em}
  .bottom-nav.bottom-nav-pingpong-seven .sport-icon{width:18px;height:18px}
}


/* 7.14.92 – public pages and manager-only Pingpong navigation */
.pp-admin-terms-page .pp-manage-existing{margin-top:20px}
.pp-admin-terms-page .pp-manage-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pp-admin-terms-page .pp-manage-heading h2{margin:0;font-size:20px;font-weight:850;color:var(--text,#152749)}
.pp-admin-terms-page .pp-manage-heading p{margin:0;color:var(--muted,#61738a);font-size:12px}
.pp-admin-terms-page .pp-manage-card{border-left-color:var(--primary,#1769e0)}
.pp-admin-terms-page .pp-manage-status{display:grid;gap:4px;justify-items:end;align-content:center;font-size:12px}
.pp-admin-terms-page .pp-manage-status strong{color:var(--text,#152749)}
.pp-admin-terms-page .pp-manage-status span{color:var(--muted,#61738a)}
.mobile-more .pp-mobile-management-label{margin-top:12px;padding:10px 9px 5px;border-top:1px solid var(--line,#dce5ef);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#687790)}
@media(max-width:780px){.pp-admin-terms-page .pp-manage-status{grid-column:1/-1;justify-items:start}}
