/* USCC Players Hub — front end.
   Maroon and gold used as accents only; the club asked for the site to stay
   light and lively rather than flooded in maroon. */

.uscc-hub {
	--uscc-maroon: #9C221E;
	--uscc-gold: #D4B362;
	--uscc-cream: #FFF6E9;
	--uscc-ink: #2b2b2b;
	--uscc-muted: #6f6f6f;
	--uscc-line: rgba(156, 34, 30, .14);
	--uscc-yes: #2f7d43;
	--uscc-maybe: #b8860b;
	--uscc-no: #a33a3a;
	font-family: inherit;
	color: var(--uscc-ink);
	box-sizing: border-box;
}

.uscc-hub *,
.uscc-hub *::before,
.uscc-hub *::after { box-sizing: border-box; }

/* ---------- filters ---------- */

.uscc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.uscc-filter {
	appearance: none;
	border: 1px solid var(--uscc-line);
	background: #fff;
	color: var(--uscc-muted);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s ease;
	line-height: 1.2;
}

.uscc-filter:hover { border-color: var(--uscc-maroon); color: var(--uscc-maroon); }
.uscc-filter.is-active { background: var(--uscc-maroon); border-color: var(--uscc-maroon); color: #fff; }

/* ---------- cards ---------- */

.uscc-cards { display: grid; gap: 14px; }

/*
 * The date (and, where there's only one time/venue for the day, the time
 * and venue too) sit in a banner across the top of the card, with the match
 * details below getting the card's full width - the same on every screen
 * size now, phone, tablet or desktop (1.21.6).
 */
.uscc-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
	transition: box-shadow .18s ease, transform .18s ease;
}

.uscc-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }
.uscc-card.is-hidden { display: none; }
.uscc-card.is-cancelled { opacity: .62; }

.uscc-card__head {
	background: linear-gradient(160deg, var(--uscc-cream), #fff);
	border-bottom: 1px solid var(--uscc-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 10px;
	text-align: center;
}

.uscc-card__date {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
}

.uscc-card__day { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--uscc-muted); }
.uscc-card__num { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--uscc-maroon); }
.uscc-card__mon { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--uscc-muted); }

/* The time + venue line, second row of the header, under the date. */
.uscc-card__when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--uscc-muted);
}

.uscc-card__time { font-weight: 600; color: var(--uscc-ink); }

.uscc-card__body { flex: 1 1 auto; padding: 14px 16px; min-width: 0; }

.uscc-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }

.uscc-tag {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(156, 34, 30, .08);
	color: var(--uscc-maroon);
}

.uscc-tag--nets { background: rgba(47, 125, 67, .1); color: var(--uscc-yes); }
.uscc-tag--social { background: rgba(212, 179, 98, .22); color: #8a6d1f; }
.uscc-tag--home { background: var(--uscc-maroon); color: #fff; }
.uscc-tag--away { background: #2f4f7d; color: #fff; }
.uscc-tag--cancelled { background: #6b6b6b; color: #fff; }

.uscc-card__heading { margin: 0 0 6px; font-size: 17px; line-height: 1.3; font-weight: 700; }

.uscc-card__lines { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--uscc-muted); }
.uscc-card__lines .uscc-card__line { display: inline-flex; align-items: center; gap: 5px; }
.uscc-card__venue::before { content: "📍"; font-size: 12px; }
a.uscc-card__venue, a.uscc-fixture__venue { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 2px; }
a.uscc-card__venue:hover, a.uscc-fixture__venue:hover { text-decoration-color: currentColor; }
.uscc-card__fee { color: var(--uscc-maroon); font-weight: 600; }

/* ---------- response buttons ---------- */

/*
 * Three equal columns, not flex: the "Who has answered" columns underneath
 * are three equal grid columns too (uscc-names__cols), with the same gap, so
 * the two rows land in exactly the same three slots. Flex with differently
 * worded buttons ("Maybe" vs "Unavailable") settled at slightly different
 * widths, which is what was throwing the columns below out of line.
 */
.uscc-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 10px; }

.uscc-choice {
	appearance: none;
	min-width: 0;
	border: 1.5px solid var(--uscc-line);
	background: #fff;
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--uscc-muted);
	cursor: pointer;
	transition: all .15s ease;
	line-height: 1.2;
}

.uscc-choice:hover { transform: translateY(-1px); }
.uscc-choice--available:hover, .uscc-choice--available.is-chosen { border-color: var(--uscc-yes); color: #fff; background: var(--uscc-yes); }
.uscc-choice--maybe:hover, .uscc-choice--maybe.is-chosen { border-color: var(--uscc-maybe); color: #fff; background: var(--uscc-maybe); }
.uscc-choice--unavailable:hover, .uscc-choice--unavailable.is-chosen { border-color: var(--uscc-no); color: #fff; background: var(--uscc-no); }
.uscc-choice.is-busy { opacity: .55; pointer-events: none; }

.uscc-closed { font-size: 13px; color: var(--uscc-muted); font-style: italic; margin: 0 0 8px; }

.uscc-counts { margin: 0; font-size: 12.5px; color: var(--uscc-muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.uscc-count { font-weight: 700; }
.uscc-count--yes { color: var(--uscc-yes); }
.uscc-count--maybe { color: var(--uscc-maybe); }
.uscc-count--no { color: var(--uscc-muted); }
.uscc-dot { opacity: .5; }

/* ---------- selection ---------- */

.uscc-selected {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	background: rgba(212, 179, 98, .16);
	border-left: 3px solid var(--uscc-gold);
	padding: 8px 10px;
	border-radius: 6px;
	margin: 0 0 10px;
}

.uscc-selected__pill { font-weight: 700; font-size: 13.5px; color: #8a6d1f; }
.uscc-selected__role { font-size: 12px; background: #fff; padding: 2px 8px; border-radius: 4px; color: var(--uscc-maroon); font-weight: 600; }
.uscc-selected__confirmed { font-size: 12.5px; color: var(--uscc-yes); font-weight: 600; }

.uscc-mini {
	appearance: none;
	border: none;
	background: var(--uscc-maroon);
	color: #fff;
	border-radius: 5px;
	padding: 5px 11px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.uscc-mini--ghost { background: transparent; color: var(--uscc-muted); border: 1px solid var(--uscc-line); }
.uscc-mini:hover { opacity: .9; }

/* ---------- buttons, tiles, tables ---------- */

.uscc-button {
	display: inline-block;
	/* The fallback matters: "Add to my calendar" sits outside the wrappers that
	   define the colours, and was showing white text on no background at all. */
	background: var(--uscc-maroon, #9C221E);
	color: #fff !important;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	padding: 11px 22px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: opacity .15s ease;
}

.uscc-button:hover { opacity: .9; color: #fff; }
.uscc-button--ghost { background: transparent; color: var(--uscc-maroon, #9C221E) !important; border: 1.5px solid var(--uscc-maroon, #9C221E); }
.uscc-button--ghost:hover { background: rgba(156, 34, 30, .06); }
.uscc-button[disabled] { opacity: .55; cursor: default; }

.uscc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 22px; }

.uscc-tile {
	background: #fff;
	border: 1px solid var(--uscc-line);
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.uscc-tile--attention { border-color: var(--uscc-gold); background: rgba(212, 179, 98, .09); }
.uscc-tile__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--uscc-muted); }
.uscc-tile__value { font-size: 24px; font-weight: 800; color: var(--uscc-maroon); line-height: 1.2; }
.uscc-tile__sub { font-size: 12.5px; color: var(--uscc-muted); }

.uscc-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.uscc-table th, .uscc-table td { padding: 9px 10px; border-bottom: 1px solid var(--uscc-line); text-align: left; }
.uscc-table thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--uscc-muted); border-bottom-width: 2px; }
.uscc-table tfoot th { font-weight: 700; }
.uscc-table--pairs th { width: 45%; color: var(--uscc-muted); font-weight: 500; }
.uscc-table--pairs td { font-weight: 600; }
.uscc-right { text-align: right !important; }

.uscc-empty { background: var(--uscc-cream); border: 1px dashed var(--uscc-line); border-radius: 10px; padding: 20px; text-align: center; color: var(--uscc-muted); }
.uscc-note { font-size: 12.5px; color: var(--uscc-muted); }

.uscc-login-prompt { background: var(--uscc-cream); border: 1px solid var(--uscc-line); border-radius: 12px; padding: 26px; }
.uscc-login-prompt h4 { margin: 0 0 10px; color: var(--uscc-maroon); font-size: 20px; }

.uscc-field { display: block; margin: 14px 0 6px; }
.uscc-field span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--uscc-muted); margin-bottom: 4px; }
.uscc-input { width: 100%; padding: 9px 11px; border: 1px solid var(--uscc-line); border-radius: 6px; font-size: 13px; font-family: monospace; background: #fff; }

.uscc-account__heading { margin: 0 0 8px; color: var(--uscc-maroon); }
.uscc-account__subheading { margin: 26px 0 10px; font-size: 16px; color: var(--uscc-maroon); }
.uscc-account__intro { color: var(--uscc-muted); margin: 0 0 18px; }

.uscc-squad__list { margin: 0; padding-left: 20px; }
.uscc-squad__list li { padding: 4px 0; }
.uscc-squad__role { font-size: 11.5px; background: rgba(156, 34, 30, .08); color: var(--uscc-maroon); padding: 2px 7px; border-radius: 4px; margin-left: 6px; font-weight: 600; }

.uscc-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%) translateY(12px);
	background: var(--uscc-ink);
	color: #fff;
	padding: 11px 20px;
	border-radius: 8px;
	font-size: 14px;
	z-index: 9999;
	opacity: 0;
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
	max-width: 90vw;
	text-align: center;
}

.uscc-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.uscc-toast--error { background: var(--uscc-no); }

@media (max-width: 599px) {
	.uscc-card__body { padding: 12px 13px; }
	.uscc-card__heading { font-size: 16px; }
	.uscc-choice { min-width: 0; padding: 9px 6px; font-size: 13px; }
}

/* ---------- match days with more than one side out ---------- */

.uscc-signin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	background: var(--uscc-cream);
	border: 1px solid var(--uscc-line);
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 16px;
}

.uscc-signin p { margin: 0; font-size: 14.5px; }

.uscc-tag--multi { background: rgba(47, 79, 125, .1); color: #2f4f7d; }

.uscc-fixtures { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }

.uscc-fixture {
	border-left: 3px solid var(--uscc-line);
	padding: 6px 0 6px 11px;
	display: grid;
	gap: 2px;
}

.uscc-fixture.is-mine { border-left-color: var(--uscc-gold); background: rgba(212, 179, 98, .1); border-radius: 0 6px 6px 0; padding-right: 10px; }
.uscc-fixture.is-off { opacity: .55; text-decoration: line-through; }
.uscc-fixture__team { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.uscc-fixture__meta { font-size: 13px; color: var(--uscc-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uscc-fixture__venue::before { content: "📍"; margin-right: 3px; }
.uscc-fixture__comp { font-size: 12.5px; color: var(--uscc-muted); }
.uscc-fixture__squad { font-size: 12px; font-weight: 600; color: var(--uscc-yes); }

.uscc-ha {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .7px;
	padding: 2px 6px;
	border-radius: 3px;
	color: #fff;
}

.uscc-ha--home { background: var(--uscc-maroon); }
.uscc-ha--away { background: #2f4f7d; }

.uscc-hint { font-size: 12.5px; color: var(--uscc-muted); margin: -4px 0 10px; font-style: italic; }

/* ---------- choosing which fees to pay ---------- */

.uscc-scroll { overflow-x: auto; }
.uscc-pickcol { width: 42px; }
.uscc-checkbox { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
.uscc-checkbox input { width: 18px; height: 18px; accent-color: var(--uscc-maroon); cursor: pointer; }
.uscc-table--pick tbody tr:hover { background: rgba(156, 34, 30, .03); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- waiting for the launch ---------- */

.uscc-waiting {
	background: var(--uscc-cream, #FFF6E9);
	border: 1px solid var(--uscc-line, rgba(156, 34, 30, .16));
	border-left: 4px solid var(--uscc-maroon, #9C221E);
	border-radius: 10px;
	padding: 16px 18px;
	margin: 0 0 18px;
}

.uscc-waiting__title { margin: 0 0 4px; font-weight: 700; color: var(--uscc-maroon, #9C221E); font-size: 16px; }
.uscc-waiting__line { margin: 0; font-size: 15px; color: var(--uscc-ink, #2b2b2b); }

/*
 * The panels stay on the page, dimmed: members should see that an account is
 * coming. The committee still needs to sign in, so they are dimmed rather
 * than switched off.
 */
.uscc-prelaunch .woocommerce-form-login,
.uscc-prelaunch .woocommerce-form-register,
.uscc-prelaunch #customer_login .u-column1,
.uscc-prelaunch #customer_login .u-column2 {
	opacity: .55;
	filter: grayscale(.35);
	transition: opacity .15s ease;
}

.uscc-prelaunch .woocommerce-form-login:focus-within,
.uscc-prelaunch .woocommerce-form-register:focus-within,
.uscc-prelaunch #customer_login .u-column1:focus-within,
.uscc-prelaunch #customer_login .u-column2:focus-within {
	opacity: 1;
	filter: none;
}

/* ---------- add to home screen ---------- */

.uscc-install {
	background: var(--uscc-cream);
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	padding: 20px 22px;
	margin: 24px 0 0;
}

.uscc-install h4 { margin: 0 0 8px; color: var(--uscc-maroon); font-size: 17px; }
.uscc-install__steps { display: grid; gap: 14px; margin-top: 12px; }
.uscc-install__steps p { margin: 0; font-size: 14px; color: var(--uscc-muted); }
.uscc-install__steps strong { color: var(--uscc-ink); }
.uscc-install__for { margin: 0 0 8px !important; }
.uscc-install__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; counter-reset: uscc-step; }
.uscc-install__step {
	counter-increment: uscc-step;
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 7px 9px;
	background: #fff;
	border: 1px solid rgba(156, 34, 30, .10);
	border-radius: 10px;
}
.uscc-install__step::before {
	content: counter(uscc-step);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--uscc-maroon);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
}
.uscc-install__text { font-size: 14px; line-height: 1.35; color: var(--uscc-ink); }
.uscc-install__text b { font-weight: 700; }
.uscc-install__chip {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	border-radius: 11px;
	background: #fff;
	color: #1c1c1e;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);
}
.uscc-install__chip--word { padding: 0 12px; font-weight: 700; font-size: 14px; color: #0a64d8; }
.uscc-install__chip--pill { height: 32px; border-radius: 999px; background: #0b57d0; color: #fff; box-shadow: none; padding: 0 16px; }
.uscc-glyph { display: block; }
.uscc-install__steps .uscc-note { margin-top: 8px; font-size: 13px; }
.uscc-install__showme {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	padding: 6px 11px;
	border: 1.5px solid var(--uscc-maroon);
	border-radius: 8px;
	background: transparent;
	color: var(--uscc-maroon);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.uscc-install__showme .uscc-glyph { width: 16px; height: 16px; }
.uscc-install__done { margin: 0; font-weight: 600; color: var(--uscc-ink); }
.uscc-install__inapp { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(156, 34, 30, .07); color: var(--uscc-ink); font-size: 14px; }

/* The pointer: drawn by the page just above Safari's own bar, at the button to press. */
.uscc-pointer {
	position: fixed;
	z-index: 99999;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	max-width: calc(100vw - 24px);
	pointer-events: none;
	font-family: inherit;
}
.uscc-pointer[hidden] { display: none !important; }
.uscc-pointer--right { right: 12px; }
.uscc-pointer--lines { left: 12px; align-items: flex-start; }
.uscc-pointer--lines .uscc-pointer__arrow { margin: 3px 0 0 calc(29vw - 27px); }
.uscc-pointer--centre { left: 50%; transform: translateX(-50%); align-items: center; }
.uscc-pointer__bubble {
	pointer-events: auto;
	position: relative;
	max-width: 250px;
	padding: 10px 36px 10px 13px;
	border-radius: 14px;
	background: #9C221E;
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
	box-shadow: 0 8px 20px rgba(80, 20, 15, .35);
}
.uscc-pointer__bubble b { color: #fff; }
.uscc-pointer__glyph {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 20px;
	margin: 0 2px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .18);
	vertical-align: -5px;
}
.uscc-pointer__glyph .uscc-glyph { width: 16px; height: 16px; }
.uscc-pointer__close {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f4dcd9;
	font-size: 20px;
	line-height: 30px;
	cursor: pointer;
}
.uscc-pointer__arrow { width: 30px; height: 40px; margin: 3px 8px 0 0; fill: none; stroke: #D4B362; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.uscc-pointer--centre .uscc-pointer__arrow { margin-right: 0; }
.uscc-pointer.is-nudging .uscc-pointer__arrow { animation: uscc-nudge 1s ease-in-out 3; }
@keyframes uscc-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .uscc-pointer.is-nudging .uscc-pointer__arrow { animation: none; } }

/*
 * The hidden attribute alone loses to .uscc-button's display: inline-block, which
 * left the install button showing on every phone, doing nothing when tapped.
 */
.uscc-install [hidden] { display: none !important; }

/* ---------- squads ---------- */

.uscc-squads { display: grid; gap: 22px; }
.uscc-squad__when { font-size: 13.5px; color: var(--uscc-muted); margin: 0 0 8px; }

@media (max-width: 600px) {
	.uscc-signin { flex-direction: column; align-items: flex-start; }
	.uscc-fixture__team { font-size: 15px; }
}

/* ---------- notifications ---------- */

.uscc-badge {
	display: inline-block;
	min-width: 18px;
	padding: 1px 6px;
	margin-left: 6px;
	border-radius: 9px;
	background: var(--uscc-maroon, #9C221E);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	vertical-align: middle;
}

.uscc-notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.uscc-notice {
	display: grid;
	gap: 3px;
	background: #fff;
	border: 1px solid var(--uscc-line);
	border-left: 3px solid var(--uscc-line);
	border-radius: 8px;
	padding: 12px 15px;
}

.uscc-notice.is-unread { border-left-color: var(--uscc-maroon); background: rgba(212, 179, 98, .08); }
.uscc-notice__when { font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--uscc-muted); }
.uscc-notice__title { font-size: 15.5px; line-height: 1.35; }
.uscc-notice__body { font-size: 14px; color: var(--uscc-muted); }
.uscc-notice__link { font-size: 13px; font-weight: 600; justify-self: start; margin-top: 2px; }

/* ---------- account type ---------- */

.uscc-account-type {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.uscc-account-type__line {
	background: rgba(156, 34, 30, .07);
	color: var(--uscc-maroon);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13.5px;
	font-weight: 600;
}

.uscc-account-type__line.is-primary { background: var(--uscc-maroon); color: #fff; }

/* ---------- who has answered (members only) ---------- */

.uscc-names {
	margin: 6px 0 0;
	font-size: 12.5px;
	border-top: 1px solid rgba(0, 0, 0, .07);
	padding-top: 6px;
}

.uscc-names__heading {
	margin: 0 0 6px;
	color: var(--uscc-muted);
	font-weight: 600;
}

/*
 * Three columns, one per answer, always visible under the buttons - the
 * same three-equal-columns grid and the same gap as .uscc-choices above, so
 * each column sits directly under its button.
 */
.uscc-names__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.uscc-names__col { min-width: 0; }

.uscc-names__label {
	margin: 0 0 4px;
	font-weight: 700;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.uscc-names__col--available .uscc-names__label { color: var(--uscc-yes); }
.uscc-names__col--maybe .uscc-names__label { color: var(--uscc-maybe); }
.uscc-names__col--unavailable .uscc-names__label { color: var(--uscc-no); }

.uscc-names__list {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--uscc-ink, inherit);
	line-height: 1.5;
}

.uscc-names__none { color: var(--uscc-muted); }

/*
 * Tabs for showing one list at a time - built for every width, but kept
 * hidden until the phone breakpoint below, so desktop/tablet (and the three
 * always-visible columns there) are untouched (1.21.5).
 */
.uscc-names__tabs { display: none; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }

.uscc-names__tab {
	appearance: none;
	border: 1px solid var(--uscc-line);
	background: #fff;
	color: var(--uscc-muted);
	border-radius: 999px;
	padding: 5px 11px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
}

.uscc-names__tab.is-active { background: var(--uscc-maroon); border-color: var(--uscc-maroon); color: #fff; }

@media (max-width: 480px) {
	.uscc-names__cols { grid-template-columns: 1fr; gap: 4px; }

	/*
	 * Phone fallback: show the tabs and only the column whose status is
	 * active, instead of stacking all three lists at once.
	 */
	.uscc-names__tabs { display: flex; }
	.uscc-names__col { display: none; }
	.uscc-names[data-active="available"] .uscc-names__col--available,
	.uscc-names[data-active="maybe"] .uscc-names__col--maybe,
	.uscc-names[data-active="unavailable"] .uscc-names__col--unavailable {
		display: block;
	}
}

/* ---------- a member's account ---------- */

.uscc-account {
	--uscc-maroon: #9C221E;
	--uscc-gold: #D4B362;
	--uscc-cream: #FFF6E9;
	--uscc-ink: #2b2b2b;
	--uscc-muted: #6f6f6f;
	--uscc-line: rgba(156, 34, 30, .14);
	--uscc-ok: #2f7d43;
	font-family: inherit;
	color: var(--uscc-ink);
	box-sizing: border-box;
}

.uscc-account *,
.uscc-account *::before,
.uscc-account *::after { box-sizing: border-box; }

.uscc-account__title { margin: 0 0 16px; }

.uscc-account__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px 34px;
	padding: 20px 22px;
	margin: 0 0 22px;
	background: var(--uscc-cream);
	border: 1px solid var(--uscc-line);
	border-radius: 14px;
}

.uscc-account__figure { display: flex; flex-direction: column; gap: 2px; }

.uscc-account__label {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--uscc-muted);
}

.uscc-account__figure strong { font-size: 26px; line-height: 1.1; }
.uscc-account__owed { color: var(--uscc-maroon); }

.uscc-account__payall { margin-left: auto; }

.uscc-btn {
	appearance: none;
	cursor: pointer;
	border: 1px solid var(--uscc-line, rgba(156, 34, 30, .14));
	background: #fff;
	color: var(--uscc-ink, #2b2b2b);
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 14px;
	font-family: inherit;
	line-height: 1.3;
}

.uscc-btn:hover { border-color: var(--uscc-maroon, #9C221E); }

/*
 * Specificity, not just !important cargo-culting: the theme's own
 * .woocommerce-Button.button rule (which this element also carries, so the
 * form still degrades sensibly without our stylesheet) is loaded after ours
 * on some templates and was winning on background/color, leaving the button
 * a near-invisible ghost on the cream page background. Matching its two
 * classes pushes ours ahead on specificity without relying on !important.
 *
 * The fallback on every var() here matters just as much: these two classes
 * are used on buttons that sit outside the .uscc-hub/.uscc-account wrappers
 * that actually define --uscc-maroon (the Membership tab's Join and Upload
 * buttons, for one) - without a fallback, an undefined custom property makes
 * the whole declaration compute to its initial value, which is invisible on
 * a background/border/color declaration, not merely unstyled.
 */
.uscc-btn--primary,
.woocommerce-Button.uscc-btn--primary,
button.uscc-btn--primary {
	background: var(--uscc-maroon, #9C221E);
	border-color: var(--uscc-maroon, #9C221E);
	color: #fff;
	font-weight: 600;
	padding: 12px 24px;
	font-size: 15px;
}

.uscc-btn--primary:hover,
.woocommerce-Button.uscc-btn--primary:hover,
button.uscc-btn--primary:hover {
	background: #7f1b18 !important;
	border-color: #7f1b18 !important;
	color: #fff !important;
}

/* A visible but secondary maroon button - Upload alongside the primary Join. */
.uscc-btn--outline,
.woocommerce-Button.uscc-btn--outline,
button.uscc-btn--outline {
	background: transparent;
	border-color: var(--uscc-maroon, #9C221E);
	color: var(--uscc-maroon, #9C221E);
	font-weight: 600;
}

.uscc-btn--outline:hover,
.woocommerce-Button.uscc-btn--outline:hover,
button.uscc-btn--outline:hover { background: rgba(156, 34, 30, .06); }

/*
 * WooCommerce's own buttons - Log in, Register, Reset password, Save
 * changes, Pay, and anything else it draws with its own markup rather than
 * one of ours. The login and register forms in particular show before
 * either account wrapper exists on the page, so - exactly like the
 * Join/Upload buttons above - every colour here carries its own hard-coded
 * fallback rather than trusting a custom property that might not be in
 * scope, and !important is used deliberately, the same way it is on
 * .uscc-btn--primary's hover, because WooCommerce's own button styles are
 * otherwise prone to winning ties on specificity.
 *
 * Scoped to the areas WooCommerce itself wraps its account-related forms
 * in, so this reskins the log in / register / reset password / my account
 * screens without reaching into an unrelated shop button elsewhere on a
 * page that happens to load this stylesheet too.
 */
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-ResetPassword .button,
.woocommerce-account .button,
.woocommerce-MyAccount-content .button {
	background: var(--uscc-maroon, #9C221E) !important;
	border: 1px solid var(--uscc-maroon, #9C221E) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	padding: 12px 24px !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	appearance: none;
	cursor: pointer;
}

.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover,
.woocommerce-ResetPassword .button:hover,
.woocommerce-account .button:hover,
.woocommerce-MyAccount-content .button:hover {
	background: #7f1b18 !important;
	border-color: #7f1b18 !important;
	color: #fff !important;
}

.uscc-account__note,
.uscc-account__empty {
	color: var(--uscc-muted);
	font-size: 14px;
	margin: 0 0 18px;
}

.uscc-account__flash {
	padding: 11px 16px;
	border-radius: 10px;
	margin: 0 0 18px;
	font-size: 14px;
	background: var(--uscc-cream);
	border: 1px solid var(--uscc-line);
}

.uscc-account__flash--done { border-color: rgba(47, 125, 67, .4); }

/* one charge: the match, and what it came to */

.uscc-charge {
	border: 1px solid var(--uscc-line);
	border-radius: 14px;
	padding: 16px 20px;
	margin: 0 0 12px;
	background: #fff;
}

.uscc-charge--settled { background: #fcfcfc; }

.uscc-charge__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 18px;
}

.uscc-charge__what { margin: 0; font-size: 17px; line-height: 1.3; }
.uscc-charge__when { font-size: 13px; color: var(--uscc-muted); }

.uscc-charge__money { text-align: right; white-space: nowrap; }
.uscc-charge__money strong { font-size: 19px; }

.uscc-charge__tag {
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	vertical-align: middle;
}

.uscc-charge__tag--ok { background: rgba(47, 125, 67, .12); color: var(--uscc-ok); }
.uscc-charge__tag--due { background: rgba(156, 34, 30, .1); color: var(--uscc-maroon); }

.uscc-charge__lines {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px dashed var(--uscc-line);
}

.uscc-charge__line {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 4px 0;
	font-size: 14px;
}

.uscc-charge__item { flex: 1 1 auto; }

.uscc-charge__state {
	font-size: 12px;
	color: var(--uscc-muted);
	white-space: nowrap;
}

.uscc-charge__amount { min-width: 5em; text-align: right; white-space: nowrap; }

.uscc-charge__line--cancelled .uscc-charge__item,
.uscc-charge__line--cancelled .uscc-charge__amount { text-decoration: line-through; color: var(--uscc-muted); }

.uscc-charge__line--paid .uscc-charge__state,
.uscc-charge__line--waived .uscc-charge__state { color: var(--uscc-ok); }

.uscc-charge__pay { margin: 14px 0 0; }

@media (max-width: 600px) {
	.uscc-account__summary { gap: 16px 24px; padding: 16px 18px; }
	.uscc-account__payall { margin-left: 0; width: 100%; }
	.uscc-account__payall .uscc-btn { width: 100%; }
	.uscc-charge__head { flex-direction: column; align-items: flex-start; }
	.uscc-charge__money { text-align: left; }
	.uscc-charge__pay .uscc-btn { width: 100%; }
}

/* ---------- the committee ---------- */

.uscc-committee__title { margin: 0 0 14px; }

.uscc-committee__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 10px;
}

.uscc-committee__person {
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	padding: 13px 16px;
	background: #fff;
}

.uscc-committee__office {
	display: block;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--uscc-maroon);
	margin: 0 0 3px;
}

.uscc-committee__name { display: block; font-size: 16px; }

.uscc-committee__also {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--uscc-muted);
}

/* ---------- picking which charges to settle ---------- */

.uscc-account__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: var(--uscc-muted);
	cursor: pointer;
	margin-right: 14px;
}

.uscc-charge__title { display: flex; align-items: center; gap: 10px; }
.uscc-charge__text { display: flex; flex-direction: column; gap: 2px; }

.uscc-charge__pick {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	flex: 0 0 auto;
}

.uscc-charge__pick input { width: 16px; height: 16px; margin: 0; cursor: pointer; }

.uscc-charge__line .uscc-charge__pick { min-width: 16px; }

/* A line with no box still lines up with the ones that have one. */
.uscc-charge__line--paid .uscc-charge__item,
.uscc-charge__line--waived .uscc-charge__item,
.uscc-charge__line--cancelled .uscc-charge__item,
.uscc-charge__line--refund_due .uscc-charge__item { padding-left: 26px; }

.uscc-btn[disabled] { opacity: .5; cursor: default; }
.uscc-btn[disabled]:hover { border-color: var(--uscc-line); background: var(--uscc-maroon); }

@media (max-width: 600px) {
	.uscc-account__payall { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
	.uscc-account__all { margin-right: 0; }
}

/* ---------- the club's people ---------- */

.uscc-people__find {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 12px;
}

.uscc-people__find input[type="search"] { min-width: 15em; padding: 8px 12px; }
.uscc-people__find select { padding: 8px 10px; }
.uscc-people__clear { font-size: 14px; }

.uscc-people__count { font-size: 13px; color: var(--uscc-muted); margin: 0 0 10px; }

.uscc-people__table td { vertical-align: top; }
.uscc-people__name { font-weight: 600; text-decoration: none; }
.uscc-people__contact { font-size: 13px; color: var(--uscc-muted); }
.uscc-people__none { color: var(--uscc-muted); font-style: italic; }
.uscc-people__row.is-open { background: var(--uscc-cream); }
.uscc-people__panel > td { background: var(--uscc-cream); }

.uscc-person__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px 20px;
	margin: 0 0 14px;
}

.uscc-person__fact span {
	display: block;
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--uscc-muted);
}

.uscc-person__fact strong { font-weight: 500; }

.uscc-person__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
}

.uscc-person__cols fieldset {
	border: 1px solid var(--uscc-line);
	border-radius: 10px;
	padding: 10px 14px 12px;
	margin: 0;
}

.uscc-person__cols legend {
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--uscc-maroon);
	padding: 0 6px;
}

.uscc-person__tick { display: block; font-size: 14px; padding: 3px 0; cursor: pointer; }
.uscc-person__tick input { margin-right: 7px; }

.uscc-btn--small { padding: 5px 13px; font-size: 13px; }

.uscc-people__groups { margin: 20px 0 0; }
.uscc-people__groups > summary { cursor: pointer; font-weight: 600; }

.uscc-people__grouplist { list-style: none; margin: 12px 0; padding: 0; }

.uscc-people__grouplist li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid var(--uscc-line);
}

.uscc-people__addgroup { display: flex; gap: 8px; flex-wrap: wrap; }
.uscc-people__addgroup input { flex: 1 1 14em; padding: 8px 12px; }

@media (max-width: 600px) {
	.uscc-people__find input[type="search"] { min-width: 0; width: 100%; }
	.uscc-people__grouplist li { flex-direction: column; align-items: flex-start; }
}

/* ---------- taking up a membership ---------- */

.uscc-join {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
	margin: 12px 0;
}

.uscc-join__option {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	padding: 12px 16px;
	background: #fff;
}

.uscc-join__what { flex: 1 1 auto; font-size: 15px; }
.uscc-join__price { font-weight: 600; white-space: nowrap; }

/* What the tier carries, or why it is shut, under the name and the price. */
.uscc-join__small {
	flex: 1 1 100%;
	order: 3;
	font-size: 13px;
	opacity: 0.75;
}

.uscc-join__option .uscc-btn,
.uscc-join__option form { order: 4; }

/*
 * A membership that is not this member's is shown rather than hidden, so that
 * he can see what the club sells and why this one is not his. It is dimmed,
 * not removed, and its button cannot be pressed.
 */
.uscc-join__option.is-shut {
	background: #fafafa;
	border-style: dashed;
}

.uscc-join__option.is-shut .uscc-join__what,
.uscc-join__option.is-shut .uscc-join__price { opacity: 0.55; }

.uscc-join__option .uscc-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Sending in a student card: the one thing a shut door still allows. */
.uscc-join__upload {
	flex: 1 1 100%;
	order: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px dashed var(--uscc-line);
}

.uscc-join__file { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.uscc-join__file input[type="file"] { max-width: 100%; font-size: 13px; }

.uscc-btn--quiet { background: transparent; border: 1px solid var(--uscc-line); }

/* The same greying on the sign-up radios. */
.uscc-signup__pick.is-shut { opacity: 0.6; }
.uscc-signup__pick.is-shut input { cursor: not-allowed; }

/* ---------- signing up ---------- */

/*
 * The club's own questions, below WooCommerce's email and password. They
 * borrow the theme's form rows so they look like the two above them, and
 * the parts that are the club talking rather than a question are quieter.
 */
.uscc-signup__intro {
	margin: 18px 0 10px;
	font-weight: 600;
}

.uscc-signup__note {
	display: block;
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--uscc-muted, #6f6f6f);
}

.uscc-signup__continue { margin: 6px 0 4px; }

.uscc-signup__emailsummary {
	margin: 6px 0 14px;
	font-size: 14px;
	color: var(--uscc-muted, #6f6f6f);
}

.uscc-signup__change {
	background: none;
	border: none;
	padding: 0;
	margin-left: 6px;
	color: var(--uscc-link, #2271b1);
	text-decoration: underline;
	cursor: pointer;
	font-size: inherit;
}

.uscc-signup__memberships {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid var(--uscc-line, rgba(156, 34, 30, .16));
	border-radius: 10px;
	background: var(--uscc-cream, #FFF6E9);
}

.uscc-signup__memberships legend {
	padding: 0 6px;
	font-weight: 700;
	color: var(--uscc-maroon, #9C221E);
}

.uscc-signup__pick {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0 0 8px;
	cursor: pointer;
}

.uscc-signup__pick input { margin-top: 3px; }

.uscc-signup__card[hidden] { display: none !important; }
.uscc-signup__card { margin-top: 12px; }
.uscc-signup__card input[type="file"] { display: block; width: 100%; margin-top: 4px; }

.uscc-signup__consent {
	margin: 14px 0;
	font-size: 14px;
	line-height: 1.5;
}

.uscc-signup__consent label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.uscc-signup__consent input { margin-top: 4px; flex: 0 0 auto; }

.uscc-signup__small { color: var(--uscc-muted, #6f6f6f); font-size: 13px; }

/* The two words the second page of signing up says back to you. */
.uscc-notice--warn { border-left-color: #b32d2e; background: rgba(179, 45, 46, .07); }
.uscc-notice--ok { border-left-color: #2f7d43; background: rgba(47, 125, 67, .08); }
.uscc-signup__details { max-width: 34rem; }

/* ---------- Squad Selection (My Account, selection committee) ---------- */

.uscc-picker__days { display: grid; gap: 12px; }
.uscc-picker__day {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	background: #fff;
	color: var(--uscc-ink);
	text-decoration: none;
}
.uscc-picker__day:hover { border-color: var(--uscc-maroon); }
.uscc-picker__when { font-weight: 700; color: var(--uscc-maroon); }
.uscc-picker__side { font-weight: 600; }
.uscc-picker__counts { font-size: 13px; color: var(--uscc-muted); }
.uscc-picker__go { font-size: 14px; font-weight: 600; color: var(--uscc-maroon); margin-top: 4px; }
.uscc-picker__pill {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(47, 125, 67, .12);
	color: var(--uscc-yes);
	vertical-align: middle;
}

.uscc-picker__back { margin: 0 0 6px; font-size: 14px; }
.uscc-picker__date { margin: 0 0 14px; }

.uscc-picker__sides { display: grid; gap: 12px; margin: 0 0 20px; }
@media (min-width: 720px) {
	.uscc-picker__sides { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.uscc-picker__sidecard {
	padding: 14px 16px;
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	background: var(--uscc-cream);
}
.uscc-picker__sidecard p { margin: 0 0 6px; }
.uscc-picker__meta { font-size: 13px; color: var(--uscc-muted); }
.uscc-picker__full { font-weight: 600; }
.uscc-picker__full.is-over { color: var(--uscc-no); }
.uscc-picker__share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.uscc-picker__whatsapp { background: #25D366; border-color: #25D366; color: #fff; font-weight: 600; }
.uscc-picker__announce {
	width: 100%;
	font-size: 13px;
	font-family: inherit;
	padding: 8px 10px;
	border: 1px solid var(--uscc-line);
	border-radius: 8px;
	background: #fff;
}

.uscc-picker__bucket { margin: 22px 0 8px; font-size: 15px; }
.uscc-picker__bucket span { color: var(--uscc-muted); font-weight: 400; }
.uscc-picker__bucket--available { color: var(--uscc-yes); }
.uscc-picker__bucket--maybe { color: var(--uscc-maybe); }
.uscc-picker__bucket--unavailable { color: var(--uscc-no); }
.uscc-picker__bucket--none { color: var(--uscc-muted); }

.uscc-picker__players { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.uscc-picker__player {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	padding: 10px 12px;
	border: 1px solid var(--uscc-line);
	border-radius: 10px;
	background: #fff;
}
.uscc-picker__player.is-picked {
	border-color: rgba(47, 125, 67, .8);
	border-left-width: 5px;
	background: rgba(47, 125, 67, .16);
}
.uscc-picker__player.is-locked { background: #f4f4f4; }
.uscc-picker__player.is-locked select[disabled] { opacity: .5; cursor: not-allowed; background: #e9e9e9; }
.uscc-picker__who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 200px; }
.uscc-picker__facts { font-size: 12.5px; color: var(--uscc-muted); }
.uscc-picker__comment { font-size: 13px; font-style: italic; }
.uscc-picker__choose { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 240px; }
.uscc-picker__choose label { flex: 1 1 0; min-width: 120px; }
.uscc-picker__choose select { width: 100%; padding: 8px 10px; font-size: 15px; }
.uscc-picker__override select { border-color: var(--uscc-maroon, #9C221E); }

/* A small "+" panel used for anything most people never need to open:
   the answer deadline, and each side's "Edit match details" (1.17.0). */
.uscc-collapsible { border: 1px solid var(--uscc-border, #ddd); border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.uscc-collapsible__toggle {
	background: none;
	border: none;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--uscc-maroon, #9C221E);
	cursor: pointer;
}
.uscc-collapsible .uscc-note { margin: 6px 0 0; }
.uscc-collapsible__fields { margin-top: 10px; }
.uscc-collapsible__fields label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.uscc-collapsible__fields input, .uscc-collapsible__fields select { padding: 6px 8px; font-size: 15px; }
.uscc-picker__editactions { margin-top: 10px; }

/* Account details, already given: plain text instead of a form (1.23.2). */
.uscc-details-view__list { margin: 0 0 10px; }
.uscc-details-view__row { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid var(--uscc-border, #eee); }
.uscc-details-view__row:last-child { border-bottom: none; }
.uscc-details-view__row dt { flex: 0 0 160px; font-weight: 600; color: var(--uscc-muted); }
.uscc-details-view__row dd { margin: 0; flex: 1 1 200px; }

/* "Change password", separated out as its own small toggle (1.23.3). */
.uscc-account__password-toggle { display: block; margin: 18px 0 10px; }

/*
 * Account details box: the read-only summary and the edit group are
 * siblings that swap places, not nested, so "Edit details" replaces the
 * summary rather than opening a second block underneath it (1.23.4).
 */
.uscc-account-details { border: 1px solid var(--uscc-border, #ddd); border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.uscc-account-details__actions { margin-top: 14px; }

/* "Change password", now its own section straight after Account details,
   with its own Save/Cancel once opened (1.23.4). */
.uscc-account-password { margin: 10px 0; }

.uscc-picker__deadline { margin: 16px 0; }

/* The optional shipping/billing address sections on Account details (1.16.0). */
.uscc-altaddress { border: 1px solid var(--uscc-border, #ddd); border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.uscc-altaddress__toggle {
	background: none;
	border: none;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--uscc-maroon, #9C221E);
	cursor: pointer;
}
.uscc-altaddress .uscc-note { margin: 6px 0 0; }
.uscc-altaddress__fields { margin-top: 10px; }

/* Save stays in reach at the foot of the screen, however long the list. */
.uscc-picker__bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 6px;
	padding: 10px 14px;
	border: 1px solid var(--uscc-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 -4px 14px rgba(0, 0, 0, .06);
}
.uscc-picker__tally { font-weight: 600; }
.uscc-picker__season { display: flex; flex-direction: column; gap: 4px; margin-top: 5px; }
.uscc-picker__seasonline { display: flex; flex-wrap: wrap; gap: 4px; }
.uscc-picker__chip {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--uscc-cream);
	border: 1px solid var(--uscc-line);
	color: var(--uscc-muted);
	white-space: nowrap;
}
.uscc-picker__chip b { color: var(--uscc-ink); font-weight: 700; }

/* ---------- My Account menu: the club-admin pages as their own group ---------- */

.woocommerce-MyAccount-navigation-link.uscc-nav-admin-first {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(156, 34, 30, .18);
}
.woocommerce-MyAccount-navigation-link.uscc-nav-admin-first::before {
	content: "Club admin";
	display: block;
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9C221E;
}
.woocommerce-MyAccount-navigation-link.uscc-nav-admin + .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(156, 34, 30, .18);
}

/* ---------- Account details: no separate Display name (1.17.0) ---------- */
/* WooCommerce's own core field - the name now just follows First + Last name.
   Its real field id is account_display_name, not display_name (1.18.0 fix -
   the original selector never matched, so the field never actually hid). */
.woocommerce-EditAccountForm .woocommerce-form-row:has( > label[for="account_display_name"] ) { display: none; }

/* ---------- Club Members: one member's own page ---------- */
.uscc-person__name { margin: 0 0 6px; font-size: 20px; color: var(--uscc-maroon); }
.uscc-person__tags { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.uscc-person__fact strong a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
