	/* @override
	https://shescores.co.uk/media/templates/site/cassiopeia_shescores/css/user.css?* 
	
	*/
	
	/* =============================================
	   0. CSS DESIGN TOKENS (COLOUR PALETTE)
	   Change a value here — updates everywhere
	   ============================================= */

:root {
	--fwf-charcoal: #2F3336;    /* var(--fwf-charcoal) */
	--fwf-green: #2e6a32;    /* var(--fwf-green) */
	--fwf-green-soft: #7DAA68;    /* var(--fwf-green-soft) */
	--fwf-green-hover: #4B753F;    /* var(--fwf-green-hover) */
	--fwf-grey-light: #F4F4F4;    /* var(--fwf-grey-light) */
	--fwf-white: #FFFFFF;    /* var(--fwf-white) */
	--fwf-gold: #D4AF37;    /* var(--fwf-gold) */
	--fwf-text-primary: #2F3336;    /* var(--fwf-text-primary) */
	--fwf-text-secondary: #6B6F72;    /* var(--fwf-text-secondary) */
	--fwf-text-disabled: #A1A4A6;    /* var(--fwf-text-disabled) */
	--fwf-divider: #E2E2E2;    /* var(--fwf-divider) */
	--fwf-border: #E8E8F0;    /* var(--fwf-border) */
	--fwf-bg-page: #EEEEEE;    /* var(--fwf-bg-page) */
	--fwf-bg-card: #FFFFFF;    /* var(--fwf-bg-card) */
	--fwf-bg-section: #757575;    /* var(--fwf-bg-section) */
	--fwf-nav-bg: #2F3336;    /* var(--fwf-nav-bg) */
	--fwf-nav-text: #FFFFFF;    /* var(--fwf-nav-text) */
	--fwf-nav-active: #5E8F46;    /* var(--fwf-nav-active) */
}
	
	
	/* =============================================
	   0b. STICKY HEADER & SHRINKING LOGO
	   ============================================= */

.container-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 9000 !important;
	background: var(--fwf-charcoal) !important;
	background-image: none !important;
	transition: box-shadow 0.3s ease;
    /* Safari sticky fix — must not have overflow:hidden on self or parents */
	overflow: visible !important;
	min-height: 0 !important;
	padding: 0 !important;
}

.container-header {
	min-height: 0 !important;
	padding: 0 !important;
}
	/* Safari sticky fix — grid child must not clip */

.container-header .grid-child, .container-header .container-nav {
	overflow: visible !important;
	display: block !important;
}
	
	/* Ensure html/body don't clip sticky */

html, body {
	overflow-x: clip;
}

.container-topbar {
	display: none !important;
	height: 0 !important;
	max-height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}

body.fwf-scrolled .container-header {
	box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
	
	/* Logo inside navbar */

.fwf-nav-logo {
	display: flex;
	align-items: center;
	margin-right: 20px;
	flex-shrink: 0;
	text-decoration: none;
	margin-top: 7px;
}

.fwf-logo-full {
	height: 36px;
	width: auto;
	display: block;
	transition: all 1s ease;
}

.fwf-logo-compact {
	height: 31px;
	width: auto;
	display: none;
	transition: all 1s ease;
}

body.fwf-scrolled .fwf-logo-full {
	display: none;
}

body.fwf-scrolled .fwf-logo-compact {
	display: block;
}

@media (max-width: 991px) {
	.fwf-logo-full {
		height: 36px;
	}
	
	.fwf-logo-compact {
		height: 28px;
	}
}
	
	/* Drawer logo */

.fwf-drawer-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.fwf-drawer-logo img {
	height: 36px;
	width: auto;
}
	
	/* Drawer item sizes — see section 26 */
	
	
	
	
	
	/* =============================================
	   1. GLOBAL / JOOMLA OVERRIDES
	   ============================================= */

div.site-grid {
	background-color: var(--fwf-grey-light);
}

.card {
	border-style: none;
	border-width: 0;
}

.card-body {
	margin-top: 0;
	padding: 0;
	background: var(--fwf-grey-light);
}

div.main-bottom {
	background: var(--fwf-grey-light) !important;
}
	
	
	/* =============================================
   2. SHARED — LAYOUT (rows, columns, stack)
   Used by: home, team page, league page
   ============================================= */

.fwf-row {
	display: flex;
	align-items: stretch;
	margin-bottom: 12px;
	width: 100%;           /* Forces Safari to measure the row width correctly */
}

.fwf-half {
	width: 50%;
	max-width: 100%;        /* Strict Safari boundary prevent horizontal blowouts */
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.fwf-third {
	width: 33.333%;
	max-width: 100%;    /* Strict containment for Safari */
	box-sizing: border-box;
	padding: 0 6px;
}

.fwf-third:first-child {
	padding-left: 0;
}

.fwf-third:last-child {
	padding-right: 0;
}

.fwf-pr {
	padding-right: 6px;
}

.fwf-pl {
	padding-left: 6px;
}

.fwf-stack {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;          /* Allows internal text truncation to register in Safari */
}

.fwf-stack .fwf-small-card {
	flex: 1;
	margin-bottom: 12px;
	max-height: none !important;
}

.fwf-stack .fwf-small-card:last-child {
	margin-bottom: 0;
}	
	/* =============================================
	   3. SHARED — CARD BASE
	   Used by: home, team page, league page
	   ============================================= */

.fwf-card {
	display: flex;
	flex-direction: column;
	background: var(--fwf-white);
	border: 1.5px solid #e8e8f0;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	color: #1a1a2e !important;
	transition: box-shadow 0.15s, border-color 0.15s;
	box-shadow: 7px 9px 11px -8px rgba(0,0,0,0.1);
	position: relative;
}

.fwf-card:hover {
	box-shadow: 0 4px 14px rgba(26,26,46,0.1);
	border-color: #1a1a2e;
}

.fwf-card-body {
	padding: 18px 22px 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fwf-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding: 8px 0 20px 10px;
	flex-shrink: 0;
	min-width: 0;
}

.fwf-n-ago {
	position: static;
	margin: 0;
}
	
	/* =============================================
	   4. SHARED — IMAGES
	   ============================================= */

.fwf-img {
	width: 100%;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}

.fwf-feature-img {
	width: 100%;
	flex: 1;
	min-height: 200px;
	object-fit: cover;
}

.fwf-small-img {
	width: 200px !important;
	min-height: unset;
	aspect-ratio: 1/1;
	flex-shrink: 0;
	object-fit: cover;
	object-position: center;
}
/* THE SAFARI LOCK */

.fwf-grid-img {
	display: block !important;
	width: 100% !important;
	max-height: 280px !important;
	height: 280px !important;
	object-fit: cover !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
}

.fwf-img-ph {
	background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
}
	
	/* =============================================
	   5. SHARED — FEATURE CARD
	   ============================================= */

.fwf-feature-card {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fwf-feature-card .fwf-card-body {
	flex: 0 0 auto;
	padding-bottom: 14px;
}

.fwf-feature-title {
	font-size: 1.275rem;
	font-weight: 800;
	color: #1a1a2e;
	margin: 0 0 25px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fwf-feature-desc {
	font-size: 1.066rem;
	color: #555;
	line-height: 1.5;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
	
	
	/* Feature card footer — padding so date/upvote has breathing room */

.fwf-feature-card .fwf-card-footer {
	padding: 0 0 14px 10px;
}

	/* =============================================
   6. SHARED — SMALL STACKED CARD
   ============================================= */

.fwf-small-card {
	display: flex !important;       /* Forces the row engine in Safari */
	flex-direction: row !important;
	overflow: hidden;
	width: 100%;
}

/* Small card content wrapper — flex col so footer margin-top:auto works */

.fwf-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	min-height: 0;
}

/* RESPONSIVE IMAGE SCALE FOR STACKED CARDS */

.fwf-small-img {
	width: 28% !important;
	flex-basis: 33% !important;
	min-width: 130px !important;
	height: 100%;
	flex-shrink: 0 !important;
	object-fit: cover;
	object-position: center;
	aspect-ratio: 1 / 1;
}

.fwf-small-card .fwf-card-body {
	padding: 14px 16px 8px;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

/* Small card footer — clear of bottom edge */

.fwf-small-card .fwf-card-footer {
	padding: 0 0 10px 10px;
	flex-shrink: 0;
}

.fwf-small-title {
	font-size: 1.275rem;
	line-height: 1.15;
	font-weight: 700;
	color: var(--fwf-charcoal);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}	
	
/* =============================================
	   7. SHARED — GRID CARD
	   ============================================= */

.fwf-grid-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

	/* THIS LOCKS THE HEIGHT FOR SAFARI WITHOUT DETACHING THE FLOW */

.fwf-grid-card > a, .fwf-grid-card .fwf-img-ph {
	display: block;
	width: 100%;
	max-height: 220px;         /* Anchors the image box size so Safari can't stretch it */
	overflow: hidden;
	flex-shrink: 0 !important;  /* Prevents structural collapsing */
}

.fwf-grid-card .fwf-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;            /* Fills out the whitespace naturally */
}

.fwf-grid-title {
	font-size: 1.275rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--fwf-charcoal);
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
	
	/* =============================================
	   8. SHARED — META (domain, badge, team name)
	   ============================================= */

.fwf-n-meta {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	margin-bottom: 6px;
}

.fwf-n-domain {
	font-size: 0.9rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--fwf-green-soft);
	display: block;
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.fwf-n-team-wrap {
	display: flex;
	align-items: center;
}

.fwf-n-badge {
	width: 14px;
	height: 14px;
	object-fit: contain;
	margin-right: 4px;
	vertical-align: middle;
}

.fwf-n-team {
	font-size: 0.8rem;
	font-weight: 300;
	color: #707070;
}
	
	
	/* =============================================
	   9. SHARED — TIMESTAMP & UPVOTE
	   ============================================= */

.fwf-n-ago {
	font-size: 0.9rem;
	color: #7e7e7e;
	font-weight: 600;
	margin: 10px;
}
	
	/* =============================================
	   32. UPVOTE BUTTON — football pitch SVG
	   Add to bottom of user.css
	   ============================================= */

button.fwf-upvote-new {
	all: unset;
	display: inline-flex !important;
	align-items: center;
	border-radius: 8px;
	background: #bbb !important;
	border: none !important;
	padding: 5px;
	cursor: pointer;
	user-select: none;
	transition: box-shadow 0.2s;
	box-sizing: border-box;
	gap: 6px;
	transform: scale(0.7);
	transform-origin: left center;
	-webkit-appearance: none;
	appearance: none;
}

button.fwf-upvote-new:active {
	transform: scale(0.68);
}

button.fwf-upvote-new:hover {
	box-shadow: 0 0 0 2px #2e6a32;
}

.fwf-upv-pitch {
	position: relative;
	width: 51px;
	height: 30px;
	flex-shrink: 0;
	margin-left: -5px;
	margin-right: 6px;
}

.fwf-upv-count {
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff !important;
	font-family: Arial, sans-serif;
	text-align: center;
	padding-right: 8px;
	transition: color 0.3s;
}

button.fwf-upvote-new.voted .fwf-upv-count {
	color: #2F3336 !important;
}
	
	/* SVG layer animations */

.fwf-upvote-new .upv-green {
	opacity: 0;
}

.fwf-upvote-new .upv-circle {
	transform-origin: 50% 50%;
	transform-box: fill-box;
}

.fwf-upvote-new .upv-heart {
	transform-origin: 50% 50%;
	transform-box: fill-box;
	transform: scale(0);
	opacity: 0;
}
	
	@keyframes fwf-pitch-in {
to {
	opacity: 1;
}
}
	@keyframes fwf-pitch-out {
to {
	opacity: 0;
}
}
	@keyframes fwf-circ-shrink {
0% {
	transform: scale(1);
	opacity: 1;
}

100% {
	transform: scale(0.01);
	opacity: 0;
}
}
	@keyframes fwf-circ-grow {
0% {
	transform: scale(0.01);
	opacity: 0;
}

100% {
	transform: scale(1);
	opacity: 1;
}
}
	@keyframes fwf-heart-bloom {
0% {
	transform: scale(0);
	opacity: 0;
}

60% {
	transform: scale(1.3);
	opacity: 1;
}

80% {
	transform: scale(0.9);
}

100% {
	transform: scale(1);
	opacity: 1;
}
}
	@keyframes fwf-heart-out {
0% {
	transform: scale(1);
	opacity: 1;
}

100% {
	transform: scale(0);
	opacity: 0;
}
}
	@keyframes fwf-count-pop {
0% {
	opacity: 0.3;
}

60% {
	opacity: 1;
}

100% {
	opacity: 1;
}
}
	
	.fwf-upvote-new.voted    .upv-green {
	animation: fwf-pitch-in    0.35s ease forwards;
}

.fwf-upvote-new.unvoting .upv-green {
	animation: fwf-pitch-out   0.3s  ease forwards;
}

.fwf-upvote-new.voted    .upv-circle {
	animation: fwf-circ-shrink 0.25s ease forwards;
}

.fwf-upvote-new.unvoting .upv-circle {
	animation: fwf-circ-grow   0.3s  ease 0.2s forwards;
}

.fwf-upvote-new.voted    .upv-heart {
	animation: fwf-heart-bloom 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.22s forwards;
}

.fwf-upvote-new.unvoting .upv-heart {
	animation: fwf-heart-out   0.2s  ease forwards;
}

.fwf-upv-count.fwf-count-anim {
	animation: fwf-count-pop   0.4s  cubic-bezier(0.34,1.56,0.64,1);
}
	
	/* =============================================
	   10. SHARED — SECTION TITLES & BODIES
	   Used by: team page, league page, calendar
	   ============================================= */
	/* .fwf-cal-header — defined in fwf_calendar.css */

.fwf-section {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
}

.fwf-section-title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--fwf-white);
	padding: 13px 20px;
	margin: 0;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #757575;
}

.fwf-section-title .sticon {
	display: none !important;
}

.fwf-section-body {
	background-color: #fff;
	padding: 0;
	border-radius: 0 0 10px 10px;
}

div#fwf-team-news.fwf-section {
	background-color: var(--fwf-grey-light);
}
	
	
	/* =============================================
	   11. SHARED — MATCH ROWS (fixtures/results/calendar)
	   Used by: team page, league page, calendar
	   ============================================= */

.fwf-match-row {
	display: grid;
	grid-template-columns: 60px 1fr auto 1fr;
	align-items: center;
	padding: 12px 16px;
	gap: 12px;
	border: 1.5px solid var(--fwf-white);
	border-radius: 8px;
	background: #fafafa;
	margin-bottom: 12px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.fwf-match-row:last-child {
	margin-bottom: 0;
}

.fwf-match-row:hover {
	border-color: #1a1a2e;
	box-shadow: 0 2px 8px rgba(26,26,46,0.08);
}

.fwf-match-row.fwf-fav-row {
	border-color: #f0a500;
	background: #fffbf0;
}

.fwf-match-row.fwf-fav-row:hover {
	border-color: #d97706;
	background: #fff8e1;
}

.fwf-match-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
	flex-shrink: 0;
}

.fwf-match-date-month {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #888888;
}

.fwf-match-date-day {
	font-size: 2.2rem;
	font-weight: 800;
	color: #888888;
	line-height: 1;
	margin-top: 1px;
}

.fwf-match-home {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 0.82rem;
	font-weight: 700;
	color: #1a1a2e;
	text-align: right;
}

.fwf-match-away {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: 0.82rem;
	font-weight: 700;
	color: #1a1a2e;
	text-align: left;
}

.fwf-match-home a, .fwf-match-away a {
	color: #1a1a2e;
	text-decoration: none;
	font-weight: 700;
}

.fwf-match-home a:hover, .fwf-match-away a:hover {
	color: #7c3aed;
}

.fwf-match-score-centre {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 64px;
}

.fwf-match-score-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.fwf-match-score {
	min-width: 28px;
	text-align: center;
	font-size: 1rem;
	font-weight: 800;
	color: #888888;
	background: #e8e8f0;
	border-radius: 5px;
	padding: 4px 8px;
	flex-shrink: 0;
	margin-bottom: 4px;
}

.fwf-score-sep {
	color: #a5a5a5;
	font-size: 0.9rem;
	padding: 0 2px;
}

.fwf-match-vs {
	font-size: 0.9rem;
	font-weight: 800;
	color: #888888;
}

.fwf-match-time {
	font-size: 0.75rem;
	color: #888888;
	font-weight: 700;
	background: #e8e8f0;
	border-radius: 5px;
	padding: 3px 8px;
}

.fwf-match-badge {
	width: 72px;
	height: 72px;
	object-fit: contain;
	flex-shrink: 0;
	margin-bottom: 5px;
}

.fwf-match-venue {
	display: none;
}

.fwf-match-more {
	font-size: 0.78rem;
	color: var(--fwf-text-disabled);
	text-align: center;
	padding: 8px 0 0;
	margin: 0;
}

.fwf-match-result {
	min-width: 28px;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 800;
	border-radius: 5px;
	padding: 3px 7px;
	letter-spacing: 0.05em;
	flex-shrink: 0;
	margin-top: 2px;
}

.fwf-result-w {
	background: #d4edda;
	color: #155724;
}

.fwf-result-d {
	background: #fff3cd;
	color: #856404;
}

.fwf-result-l {
	background: #f8d7da;
	color: #721c24;
}

.fwf-matches-body {
	padding: 14px 16px 18px;
	background-color: var(--fwf-grey-light);
	padding-right: 0;
	padding-left: 0;
}
	
	
	/* =============================================
	   12. SHARED — LEAGUE TABLE
	   Used by: team page, league page
	   ============================================= */

.fwf-table-scroll {
	overflow-x: auto;
}

.fwf-standings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	table-layout: fixed;
	background-color: white;
}

.fwf-standings-table th:first-child, .fwf-standings-table td:first-child {
	width: 40%;
	min-width: 120px;
}

.fwf-standings-table thead th {
	background: var(--fwf-charcoal);
	color: var(--fwf-grey-light);
	padding: 7px 8px;
	text-align: left;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.fwf-standings-table th.center, .fwf-standings-table td.center {
	text-align: center;
	padding-left: 3px;
	padding-right: 3px;
}

.fwf-standings-table td.center, .fwf-standings-table td.center strong {
	white-space: nowrap;
}

.fwf-standings-table td {
	padding: 5px 6px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.fwf-standings-table tr:last-child td {
	border-bottom: none;
}

.fwf-standings-table tr:hover td {
	background: #f9f9f7;
}

.fwf-standings-table tr.fwf-highlight td {
	background: #fff8e6;
	font-weight: 700;
}

.fwf-standings-table td.fwf-team-cell {
	border-left: 5px solid var(--zone-colour, transparent);
}

.fwf-standings-table th.center, .fwf-standings-table td.center {
	text-align: center;
	padding-left: 3px;
	padding-right: 30px;
}

.fwf-standings-table td {
	padding: 5px 6px;
	border-bottom: 4px solid var(--fwf-grey-light);
	vertical-align: middle;
}

.fwf-standings-table tr:last-child td {
	border-bottom: none;
}

.fwf-standings-table tr:hover td {
	background: #f9f9f7;
}

.fwf-standings-table tr.fwf-highlight td {
	background: #fff8e6;
	font-weight: 700;
}

.fwf-standings-table td.fwf-team-cell {
	border-left: 5px solid var(--zone-colour, transparent);
}

.fwf-zone-key {
	display: flex;
	flex-wrap: wrap;
	padding: 10px 12px;
	border-top: 1px solid #eee;
	background-color: #fff !important;
}

.fwf-zone-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 3px;
	font-size: 0.7rem;
	font-weight: 700;
	margin-right: 6px;
	margin-bottom: 4px;
}

.fwf-team-cell {
	padding-left: 4px !important;
}

.fwf-team-cell-inner {
	display: flex;
	align-items: center;
	overflow: hidden;
	min-width: 0;
}

.fwf-pos-num {
	font-weight: 700;
	color: #888;
	font-size: 0.78rem;
	width: 14px;
	text-align: right;
	flex-shrink: 0;
	margin-right: 6px;
}

.fwf-stand-badge {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	margin-right: 6px;
}

.fwf-team-cell-name {
	font-weight: 600;
	color: var(--fwf-charcoal);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	flex: 1;
}

.fwf-team-cell-name a {
	text-decoration: none;
	color: inherit;
}

.fwf-team-cell-name a:hover {
	color: #7c3aed;
}
	
	/* Form boxes */

.fwf-form-cell {
	display: flex;
	gap: 3px;
	justify-content: center;
	flex-wrap: nowrap;
}

.fwf-form-box {
	width: 22px;
	height: 22px;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
	letter-spacing: 0;
	margin-right: 1px;
}

.fwf-form-w {
	background: #15803d;
}

.fwf-form-d {
	background: #9ca3af;
}

.fwf-form-l {
	background: #dc2626;
}
	
	/* Column visibility */

.fwf-col-form {
	display: none;
}

.fwf-col-noform {
	
}

.fwf-tview-form .fwf-col-form {
	display: table-cell;
}

.fwf-tview-form .fwf-col-noform {
	display: none;
}

.fwf-tview-form .fwf-col-wdl {
	display: table-cell;
}

.fwf-tview-short .fwf-col-full {
	display: none;
}
	
	
	/* =============================================
	   13. SHARED — FILTER BARS & BUTTONS
	   Used by: home, team page, league page
	   ============================================= */

.fwf-filter-bar {
	background: var(--fwf-charcoal);
	padding: 18px 20px 14px;
	margin-bottom: 16px;
	border-radius: 10px;
}

.fwf-filter-bar-light {
	background: var(--fwf-charcoal);
	padding: 18px 20px 14px;
	margin-bottom: 16px;
	border-radius: 10px;
}

.fwf-filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.fwf-filter-title {
	font-family: Arial, sans-serif;
	font-size: 1.3rem;
	font-weight: 800;
	color: #fff;
	margin: 0;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.2;
}

h6 {
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
	margin: 0;
	padding: 0;
}

.fwf-filter-toprow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 0;
}

.fwf-filter-toprow-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	justify-content: flex-end;
}

.fwf-filter-toprow-right .fwf-filter-input {
	max-width: 260px;
	flex: 1;
}

.fwf-filter-controls {
	display: none;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	align-items: flex-end;
}

.fwf-filter-controls.fwf-filter-open {
	display: flex;
}

.fwf-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 130px;
}

.fwf-filter-label {
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ccc;
}

.fwf-filter-input, .fwf-filter-select {
	background: var(--fwf-text-disabled);
	color: #fff;
	border: 1px solid #fff;
	border-radius: 10px;
	padding: 7px 10px;
	font-size: 0.85rem;
	font-family: Arial, sans-serif;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s;
	-webkit-appearance: none;
	appearance: none;
	margin-right: 10px;
}

.fwf-filter-input::placeholder {
	color: var(--fwf-text-primary);
}

.fwf-filter-input:focus, .fwf-filter-select:focus {
	outline: none;
	border-color: var(--fwf-gold);
}

.fwf-filter-reset-wrap {
	flex: 0 0 auto;
	min-width: unset;
	justify-content: flex-end;
}

.fwf-filter-reset {
	background: #777777;
	color: #fff;
	border: 1px solid #ffffff;
	border-radius: 10px;
	padding: 7px 14px;
	font-size: 0.8rem;
	font-family: Arial, sans-serif;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s, border-color 0.15s;
}

.fwf-filter-reset:hover {
	color: #fff;
	border-color: #f0a500;
}

.fwf-filter-toggle {
	display: flex !important;
	align-items: center;
	gap: 6px;
	background: var(--fwf-green-soft);
	color: var(--fwf-charcoal);
	border: none;
	border-radius: 20px;
	padding: 6px 16px;
	font-size: 0.85rem;
	font-weight: 700;
	font-family: Arial, sans-serif;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}

.fwf-filter-toggle:hover {
	background: #d4920a;
}

.fwf-filter-chevron {
	display: inline-block;
	transition: transform 0.25s ease;
	font-size: 0.7rem;
}
	
	/* Match filter bar (fixtures/results tabs) */

.fwf-match-filter-bar {
	display: flex;
	flex-wrap: wrap;
	background: var(--fwf-text-secondary);
	padding: 10px 16px;
	border-radius: 0 0 10px 10px;
}

.fwf-filter-btn {
	padding: 6px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	border: 1px solid #fff;
	background: #adadad;
	color: #000;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.15s;
	white-space: nowrap;
	font-family: Arial, sans-serif;
	margin-right: 6px;
	margin-bottom: 6px;
}

.fwf-filter-btn:hover {
	background: #c0c0c0;
	color: #000;
}

.fwf-filter-btn.active {
	background: #fff;
	color: #1a1a2e;
	border-color: #fff;
}
	
	/* News sort buttons */

div.fwf-news-controls {
	border-radius: 0 0 10px 10px;
	padding: 10px 16px 10px 10px;
	margin-bottom: 10px;
}

button.fwf-news-sort-btn, button.fwf-news-sort-btn.active {
	margin-bottom: 10px;
	margin-left: 10px;
	border-radius: 20px;
	border-color: #fff;
}

button.fwf-news-sort-btn {
	padding: 6px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	border: 1px solid #fff;
	background: #adadad;
	color: #000;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.15s;
	font-family: Arial, sans-serif;
	margin-right: 6px;
	margin-bottom: 6px;
}

button.fwf-news-sort-btn:hover {
	background: #c0c0c0;
	color: #000;
}

button.fwf-news-sort-btn.active {
	background: #fff !important;
	color: #1a1a2e !important;
	border-color: #fff !important;
}
	
	/* Table view toggle */

.fwf-table-toggle-bar {
	display: flex;
	flex-wrap: wrap;
	padding: 10px 16px;
	background: #757575;
	border-bottom: none;
}

.fwf-tview-btn {
	padding: 6px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	border: 1px solid #fff;
	background: #adadad;
	color: #000;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.15s;
	font-family: Arial, sans-serif;
	margin-right: 6px;
	margin-bottom: 6px;
}

.fwf-tview-btn:hover {
	background: #c0c0c0;
	color: #000;
}

.fwf-tview-btn.active {
	background: #fff;
	color: #1a1a2e;
	border-color: #fff;
}
	
	/* Date range picker */

.fwf-daterange-picker {
	display: none;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	background: #f8f5ff;
	border: 1px solid #e9d5ff;
	border-radius: 5px;
	padding: 10px 14px;
	margin-bottom: 12px;
	font-size: 0.82rem;
}

.fwf-daterange-picker.visible {
	display: flex;
}

.fwf-daterange-picker label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #555;
}

.fwf-daterange-picker input[type="date"] {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 4px 8px;
	font-size: 0.82rem;
}

.fwf-dr-apply {
	padding: 5px 14px;
	background: #1a1a2e;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
}

.fwf-dr-apply:hover {
	background: #2d2d4e;
}
	
	
	/* =============================================
	   14. SHARED — LOAD MORE BUTTON
	   ============================================= */

.fwf-load-more-btn, .fwf-home-load-more, .fwf-cal-load-more {
	padding: 10px 32px;
	background: var(--fwf-green) !important;
	color: var(--fwf-white);
	border: none;
	border-radius: 20px;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	font-family: Arial, sans-serif;
	transition: background 0.15s;
	letter-spacing: 0.04em;
}

.fwf-load-more-btn:hover, .fwf-home-load-more:hover, .fwf-cal-load-more:hover {
	background: #2d2d4e;
}

.fwf-load-more-btn:disabled, .fwf-home-load-more:disabled, .fwf-cal-load-more:disabled {
	opacity: 0.4;
	cursor: default;
}

.fwf-load-more-wrap, .fwf-home-load-more-wrap, .fwf-cal-load-more-wrap {
	text-align: center;
	margin-top: 8px;
}
	
	
	/* =============================================
	   15. SHARED — EMPTY & PLACEHOLDER STATES
	   ============================================= */

.fwf-empty {
	color: #888;
	font-style: italic;
	font-size: 0.9rem;
	padding: 8px;
}

.fwf-home-empty {
	text-align: center;
	padding: 24px;
	color: #aaa;
	font-style: italic;
	background: #fff;
	border: 1.5px solid #e8e8f0;
	border-radius: 10px;
}

.fwf-placeholder {
	background: #f9f9f7;
	border: 2px dashed #ddd;
	border-radius: 5px;
	padding: 40px;
	text-align: center;
	color: #aaa;
	font-size: 0.9rem;
}

.fwf-placeholder strong {
	display: block;
	font-size: 1rem;
	color: #ccc;
	margin-bottom: 6px;
}
	
	
	/* =============================================
	   16. HOME MODULE (mod_fwf_home)
	   ============================================= */

#fwf-home-feed {
	font-family: Arial, sans-serif;
	padding: 0 0 48px;
	color: #1a1a2e;
	background: #f4f4f4;
}
	
	/* Skeleton loader */

.fwf-skel {
	background: #fff;
	border: 1.5px solid #e8e8f0;
	border-radius: 10px;
	overflow: hidden;
	flex: 1;
}

.fwf-skel-block {
	background: linear-gradient(90deg, #efefef 25%, #e4e4e4 50%, #efefef 75%);
	background-size: 200% 100%;
	animation: fwfSkel 1.4s infinite;
}
	
	/* (UNUSED — verify) skeleton image sizes not seen in current home module output */

.fwf-skel-img-feat {
	aspect-ratio: 4/3;
	display: block;
	width: 100%;
}

.fwf-skel-img-small {
	aspect-ratio: 4/3;
	display: block;
	width: 100%;
}

.fwf-skel-img-grid {
	aspect-ratio: 4/3;
	display: block;
	width: 100%;
}

.fwf-skel-body {
	padding: 12px 16px;
}

.fwf-skel-line {
	height: 12px;
	border-radius: 4px;
	margin-bottom: 8px;
}
	
	@keyframes fwfSkel {
0% {
	background-position: 200% 0;
}

100% {
	background-position: -200% 0;
}
}
	
	
	/* =============================================
	   17. TEAM PAGE — HERO
	   ============================================= */

#fwf-team-page {
	font-family: Arial, sans-serif;
	width: 100%;
	padding: 0 0 40px;
	color: #333;
	background: var(--fwf-grey-light);
}

.itemid-132 .item-page, .itemid-132 #sp-component {
	background: #eeeeee;
}

.fwf-hero-wiki-wrap {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
}
	
	/* Hero container — relative so watermark can sit inside it absolutely */

.fwf-team-hero {
	color: #fff;
	padding: 32px 40px;
	position: relative;
	overflow: hidden;
}
	
	/* Watermark — absolute, centred, behind everything, not in flex flow */

.fwf-team-hero-watermark {
	position: absolute;
	width: 100%;
	height: auto;
	opacity: 0.08;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
}
	
	/* Hero content — this is the flex row (badge + team info) */

.fwf-team-hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 40px;
}

.fwf-team-badge {
	width: 200px;
	height: 200px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 12px;
	padding: 12px;
}
	
	/* Hero info block — centred column */

.fwf-team-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
}

.fwf-team-info h1 {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0 0 14px;
	color: var(--fwf-white);
}
	
	/* Outer lozenge — dark, contains both inner lozenge and position */

.fwf-hero-lozenge-outer {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: var(--fwf-charcoal);
	border-radius: 10px;
	padding: 4px 4px 10px;
	margin-bottom: 16px;
}
	
	/* Inner lozenge — light grey, stadium · town */

.fwf-hero-lozenge-inner {
	background: var(--fwf-grey-light);
	color: var(--fwf-charcoal);
	border-radius: 8px;
	padding: 4px 14px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
	
	/* League position text — light grey, sits below inner lozenge */

.fwf-hero-lozenge-pos {
	color: var(--fwf-text-disabled);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 15px 0;
}
	
	/* Hide old meta and division elements */

.fwf-team-meta {
	display: none !important;
}

.fwf-team-division {
	display: none;
}

.fwf-team-mobile-league {
	display: none;
}
	
	
	/* =============================================
	   18. TEAM PAGE — SOCIAL LINKS
	   ============================================= */

.fwf-social-links {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.fwf-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: 6px;
	border-radius: 50%;
	background: none;
	text-decoration: none !important;
	color: #fff !important;
	transition: opacity 0.15s, transform 0.15s;
	flex-shrink: 0;
}

.fwf-social-link:hover {
	opacity: 0.75;
	transform: translateY(-2px);
}

.fwf-social-link svg {
	width: 26px;
	height: 26px;
	fill: var(--fwf-white);
	flex-shrink: 0;
}

.fwf-social-link-text {
	display: none;
}

.fwf-social-official, .fwf-social-twitter, .fwf-social-facebook, .fwf-social-instagram, .fwf-social-youtube, .fwf-social-bluesky, .fwf-social-tiktok, .fwf-social-snapchat {
	background: none !important;
}
	
	/* Snapchat uses stroke not fill */

.fwf-social-snapchat svg {
	fill: transparent !important;
	stroke: #ffffff;
}
	
	
	/* =============================================
	   19. TEAM PAGE — WIKI STRIP
	   ============================================= */

.fwf-wiki-strip {
	background: var(--fwf-white);
	padding: 22px 40px 26px;
}

.fwf-wiki-content {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--fwf-charcoal);
}

.fwf-wiki-content p {
	margin-bottom: 12px;
	text-align: justify;
	line-height: 1.8em;
	font-size: 1.2em;
}

.fwf-wiki-link {
	display: inline-block;
	margin-top: 8px;
	color: var(--fwf-gold);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.fwf-wiki-link:hover {
	text-decoration: underline;
}

.fwf-wiki-error {
	color: #888;
	font-size: 0.9rem;
	font-style: italic;
}
	
	
	/* =============================================
	   20. TEAM PAGE — TABLE VIEW TOGGLE
	   (CSS in section 13 — .fwf-table-toggle-bar, .fwf-tview-btn)
	   Column rules also in section 12
	   ============================================= */
	
	/* (no additional rules needed here) */
	
	
	/* =============================================
	   21. TEAM PAGE — FAN POINTS TABLE
	   ============================================= */

.fwf-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.fwf-data-table th {
	background: #1a1a2e;
	color: #fff;
	padding: 10px 12px;
	text-align: left;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fwf-data-table th.center, .fwf-data-table td.center {
	text-align: center;
}

.fwf-data-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.fwf-data-table tr:last-child td {
	border-bottom: none;
}

.fwf-data-table tr:hover td {
	background: #f9f9f7;
}
	
	
	/* =============================================
	   22. LEAGUE PAGE — HERO & TEAM GRID
	   ============================================= */

div.fwf-news-wrap {
	background-color: var(--fwf-grey-light);
	padding-right: 0;
	padding-left: 0;
}

@media (min-width: 768px) {
	div.fwf-lp-tgrid-wide {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 8px;
	}
	
	div.fwf-lp-tgrid-wide .fwf-lp-tcard {
		width: auto;
		min-width: 0;
		margin: 0;
	}
}
	
	/* Team grid cards */

a.fwf-lp-tcard {
	background-color: #fff;
}
	
	
	/* =============================================
	   23. CALENDAR MODULE
	   ============================================= */

div.fwf-cal-league-body {
	background-color: var(--fwf-grey-light);
	padding-right: 0;
	padding-left: 0;
}
	
	
	/* =============================================
	   24. HEADER & NAVIGATION
	   ============================================= */

a.brand-logo {
	display: block;
	margin: 0;
	padding: 0;
}
	
	/* .navbar-brand — handled by fwf-nav-logo in section 0b */

.brand-logo img {
	padding: 0;
	margin: 0;
}
	
	
	/* =============================================
	   25. MEGA MENU — DESKTOP
	   ============================================= */
	
	/* header position — handled by .container-header sticky rule in section 0b */
	
	/* #fwf-navbar — defined above */

#fwf-navbar .container-fluid {
	padding: 0 24px;
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
}
	
	/* Force collapse to flex and fill space */

#fwfNavContent {
	display: flex !important;
	flex: 1 !important;
	align-items: center !important;
	padding-top: 10px;
}
	
	/* Nav ul — mx-auto centres it, burger goes right */

#fwf-main-nav {
	margin-left: auto !important;
	margin-right: auto !important;
	display: flex !important;
	flex-direction: row !important;
}

#fwf-navbar, #fwf-navbar .container-fluid {
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

#fwf-navbar .navbar-nav > .nav-item > .nav-link {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	height: 34px !important;
	line-height: 34px !important;
}

#fwf-navbar .navbar-nav > .nav-item > .nav-link, #fwf-navbar .navbar-nav > .nav-item > .nav-link.dropdown-toggle {
	color: #ffffff !important;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 18px 20px;
	border-bottom: 3px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

#fwf-navbar .navbar-nav > .nav-item > .nav-link:hover, #fwf-navbar .navbar-nav > .nav-item.active > .nav-link {
	color: var(--fwf-gold) !important;
}

#fwf-navbar .dropdown-toggle::after {
	border: none;
	content: ' ▾';
	font-size: 0.6rem;
	vertical-align: middle;
	opacity: 0.6;
	margin-left: 2px;
}

#fwf-navbar .fwf-panel {
	display: none !important;
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 7px 0 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: var(--fwf-text-secondary) !important;
	box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
	padding: 0 48px !important;
	z-index: 9999 !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: stretch !important;
	text-align: center !important;
}

#fwf-navbar .fwf-panel.show {
	display: flex !important;
}

#fwf-navbar .navbar-nav {
	position: static;
	margin-bottom: 0;
}

@media (min-width: 992px) {
	#fwfNavContent {
		display: flex !important;
		flex: 1 !important;
		align-items: center !important;
	}
	
	#fwf-navbar .navbar-nav {
		flex-direction: row !important;
	}
	
	#fwf-navbar .navbar-toggler {
		display: none !important;
	}
}
	
	@media (max-width: 991px) {
	#fwfNavContent {
		display: none !important;
	}
	
	#fwf-navbar, #fwf-navbar .container-fluid {
		height: 54px !important;
		min-height: 54px !important;
		max-height: 54px !important;
	}
}
	
	.fwf-mega-col {
	flex: 1;
	padding: 0;
	border-right: 1px solid rgba(255,255,255,0.12);
	min-width: 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fwf-mega-col:last-child {
	border-right: none;
}

.fwf-tier-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ffffff !important;
	text-decoration: none !important;
	padding: 8px 28px;
	width: 100%;
	transition: color 0.15s;
	text-align: center;
	cursor: pointer;
	min-height: 40px;
}

.fwf-tier-heading:hover {
	color: #f0a500 !important;
}

.fwf-league-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fwf-league-list li {
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fwf-league-list li:last-child {
	border-bottom: none;
}

.fwf-league-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 0;
	color: rgba(255,255,255,0.65) !important;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none !important;
	transition: color 0.15s;
}

.fwf-league-list a:hover {
	color: #f0a500 !important;
}

.fwf-league-list a .fwf-arrow {
	color: rgba(255,255,255,0.3);
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-left: 8px;
}

.fwf-panel-trigger {
	cursor: pointer;
	user-select: none;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.fwf-panel-trigger:hover, .fwf-panel-trigger.fwf-active {
	color: var(--fwf-gold) !important;
	border-bottom-color: #f0a500;
}

.fwf-expand-arrow {
	font-size: 1rem;
	color: #999;
	transition: transform 0.2s;
	flex-shrink: 0;
}

.fwf-panel-trigger.fwf-active .fwf-expand-arrow {
	transform: rotate(90deg);
	color: #f0a500;
}

.fwf-sub-panel {
	display: none !important;
	background: #232333 !important;
	border-top: 1px solid rgba(240,165,0,0.5) !important;
	padding: 5px 48px 0 48px !important;
	justify-content: center !important;
	text-align: center;
	width: 100vw !important;
	flex-direction: row !important;
	align-items: stretch !important;
}

.fwf-sub-panel.show {
	display: flex !important;
}

.fwf-sub-panel .fwf-mega-col {
	flex: 0 0 220px;
	max-width: 220px;
	text-align: center;
	border-right: 1px solid rgba(255,255,255,0.1);
}

.fwf-sub-panel .fwf-mega-col:last-child {
	border-right: none;
}
	
	/* (UNUSED — verify) back button hidden on desktop, check if used on mobile */

.fwf-back-btn {
	display: none;
}
	
	
	
	
	/* =============================================
	   26. MEGA MENU — MOBILE DRAWER
	   ============================================= */

@media (max-width: 991px) {
	#fwf-navbar .navbar-collapse {
		display: none !important;
	}
	
	#fwf-navbar .navbar-toggler {
		display: block !important;
		background: none;
		border: none;
		padding: 10px;
		margin-left: auto;
		cursor: pointer;
	}
	
	#fwf-navbar .navbar-toggler-icon {
		filter: invert(1);
		width: 24px;
		height: 24px;
		display: block;
	}
	
	#fwf-navbar .fwf-panel, #fwf-navbar .fwf-sub-panel {
		display: none !important;
	}
}
	
	#fwf-drawer-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 10000;
}

#fwf-drawer-overlay.open {
	display: block;
}

#fwf-drawer {
	position: fixed;
	top: 0;
	left: -100vw;
	width: 85vw;
	max-width: 320px;
	height: 100%;
	background: #1a1a2e;
	z-index: 10001;
	overflow: hidden;
	transition: left 0.3s ease;
	display: flex;
	flex-direction: column;
}

#fwf-drawer.open {
	left: 0;
}

.fwf-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	flex-shrink: 0;
}

.fwf-drawer-header span {
	color: #f0a500;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fwf-drawer-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

.fwf-drawer-panels {
	flex: 1;
	overflow: hidden;
	position: relative;
}

.fwf-drawer-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	transition: transform 0.25s ease;
	transform: translateX(0);
}

.fwf-drawer-panel.slide-out {
	transform: translateX(-100%);
}

.fwf-drawer-panel.slide-in-r {
	transform: translateX(100%);
}

.fwf-drawer-panel.active {
	transform: translateX(0);
}

.fwf-drawer-panel a, .fwf-drawer-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	color: var(--fwf-white) !important;
	text-decoration: none !important;
	font-weight: 600;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	cursor: pointer;
	user-select: none;
	transition: background 0.15s, color 0.15s;
	background: none;
	border-left: none;
	border-right: none;
	border-top: none;
	width: 100%;
	text-align: left;
	font-style: inherit;
	font-size: 1.7rem;
	letter-spacing: 1px;
}

.fwf-drawer-panel a:hover, .fwf-drawer-item:hover {
	background: rgba(255,255,255,0.05);
	color: #f0a500 !important;
}

.fwf-drawer-arrow {
	color: #555;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.fwf-drawer-section {
	padding: 16px 20px 8px;
	color: #f0a500;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(240,165,0,0.2);
}

.fwf-drawer-back {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	color: #f0a500 !important;
	font-size: 0.85rem;
	font-weight: 700;
	border-bottom: 2px solid rgba(240,165,0,0.2);
	cursor: pointer;
	background: rgba(0,0,0,0.25);
	width: 100%;
	border-left: none;
	border-right: none;
	border-top: none;
	text-align: left;
	font-family: inherit;
}

.fwf-drawer-back::before {
	content: '‹ ';
	font-size: 1.1rem;
}

.fwf-drawer-panel a.sub {
	padding-left: 32px;
	font-size: 0.95rem;
	color: #999 !important;
	border-bottom-color: rgba(255,255,255,0.03);
}

.fwf-drawer-panel a.sub:hover {
	color: #fff !important;
}
	
	
	/* =============================================
	   27. LEGAL PAGES
	   ============================================= */

.fwf-hero-header {
	background-color: #000055;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 10px;
}

.fwf-paragraph-bkground {
	background: #fff;
	border: 1.5px solid #e8e8f0;
	border-radius: 10px;
	transition: box-shadow 0.15s, border-color 0.15s;
	box-shadow: 7px 9px 11px -8px rgba(0,0,0,0.1);
	margin-bottom: 30px;
	padding: 20px 20px 10px;
}

.fwf-paragraph-bkground p {
	text-align: justify;
}

.fwf-paragraph-bkground a {
	margin-bottom: 10px;
	background-color: #eee;
}
	
	
	/* =============================================
	   28. HIDE JOOMLA ARTICLE ELEMENTS
	   ============================================= */
	
	/* Hide Cassiopeia default logo on frontend — replaced by fwf-nav-logo */

a.brand-logo img, .navbar-brand img {
	display: none !important;
}
	
	/* But show it on login page so users know where they are */

.com-users a.brand-logo img, .com-users .navbar-brand img {
	display: block !important;
}

.itemid-161 .com-content-article, .itemid-161 .page-header, .itemid-161 .article-info, .itemid-161 .pagenavigation, .itemid-161 .icons {
	display: none !important;
}

.itemid-104 .com-content-article, .itemid-101 .com-content-article, .itemid-105 .com-content-article, .itemid-7   .com-content-article, .itemid-107 .com-content-article, .itemid-108 .com-content-article, .itemid-110 .com-content-article, .itemid-111 .com-content-article, .itemid-112 .com-content-article, .itemid-114 .com-content-article, .itemid-113 .com-content-article, .itemid-132 .com-content-article, .itemid-137 .com-content-article, .itemid-161 .com-content-article {
	display: none !important;
}
	
	
	/* =============================================
	   29. MOBILE — max-width: 860px
	   Team hero switches to stacked layout
	   ============================================= */

@media (max-width: 860px) {
	.fwf-team-hero {
		padding: 32px 24px 28px;
		text-align: center;
	}
	
	.fwf-team-hero-content {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}
	
	.fwf-team-badge {
		width: 176px;
		height: 176px;
		margin-bottom: 10px;
		padding-top: 0;
	}
	
	.fwf-team-info {
		width: 100%;
		text-align: center;
	}
	
	.fwf-team-division {
		display: none;
	}
	
	.fwf-team-mobile-league {
		display: block;
		font-size: 0.85rem;
		color: rgba(255,255,255,0.7);
		margin-bottom: 10px;
	}
	
	.fwf-team-meta {
		display: none !important;
	}
	
	.fwf-social-links {
		justify-content: center;
		flex-wrap: nowrap;
		margin-top: 6px;
	}
	
	.fwf-social-link {
		width: 44px;
		height: 44px;
		margin-right: 4px;
		flex-shrink: 0;
	}
	
	.fwf-social-link svg {
		width: 26px;
		height: 26px;
	}
	
	.fwf-social-link-text {
		display: none;
	}
}
	
	/* =============================================
	   30. MOBILE — max-width: 700px
	   Cards go full-width, filter bar collapses
	   ============================================= */

@media (max-width: 700px) {
	/* Filter bar */
	
	.fwf-filter-bar {
		border-radius: 10px;
		padding: 14px 14px 12px;
	}
	
	.fwf-filter-title {
		font-size: 1rem;
	}
	
	.fwf-filter-controls {
		display: none !important;
		flex-direction: column;
		gap: 10px;
		margin-top: 12px;
	}
	
	.fwf-filter-controls.fwf-filter-open {
		display: flex !important;
	}
	
	.fwf-filter-group {
		min-width: unset;
		flex: none;
		width: 100%;
	}
	
	.fwf-filter-reset-wrap {
		width: 100%;
	}
	
	.fwf-filter-reset {
		width: 100%;
		text-align: center;
	}
	
	.fwf-filter-toprow-right .fwf-filter-input {
		display: none;
	}

    /* Layout */
	
	.fwf-row {
		flex-direction: column;
	}
	
	.fwf-half, .fwf-third {
		width: 100% !important;
		padding: 0 !important;
		flex: none;
	}
	
	.fwf-half, .fwf-stack {
		margin-bottom: 0 !important;
	}
	
	.fwf-third {
		margin-bottom: 0;
	}
	
	.fwf-stack {
		flex: none;
		flex-direction: column;
	}

    /* All cards — single column full width */
	
	.fwf-card, .fwf-feature-card, .fwf-small-card, .fwf-grid-card {
		flex-direction: column !important;
		width: 100% !important;
		max-height: none !important;
		margin-bottom: 10px;
	}

	/* Small card specifically — override the row !important from desktop */
	
	.fwf-small-card {
		flex-direction: column !important;
	}
	
	.fwf-small-img {
		width: 100% !important;
		min-height: unset !important;
		flex-shrink: unset !important;
	}

    /* All images — 16:9, full width, stacked above text */
	
	.fwf-img, .fwf-feature-img, .fwf-small-img, .fwf-grid-img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 16/9;
		object-fit: cover;
		min-height: unset;
		flex: unset;
	}

    /* Uniform card body padding */
	
	.fwf-small-card .fwf-card-body, .fwf-grid-card .fwf-card-body, .fwf-feature-card .fwf-card-body {
		padding: 14px 16px 0;
		min-width: unset;
		overflow: visible;
		flex: unset;
	}

    /* All titles — match feature card weight and size on mobile */
	
	.fwf-feature-title {
		font-size: 1.4rem !important;
		line-height: 1.3 !important;
		font-weight: 800 !important;
		margin-bottom: 0;
	}
	
	.fwf-small-title, .fwf-grid-title {
		font-size: 1.4rem !important;
		line-height: 1.3 !important;
		font-weight: 800 !important;
		-webkit-line-clamp: 3 !important;
		overflow: hidden !important;
	}

    /* Description text */
	
	.fwf-feature-desc {
		font-size: 0.95rem;
		line-height: 1.5;
	}

    /* Meta row (domain, badge, team name) */
	
	.fwf-n-meta {
		font-size: 0.8rem;
	}

    /* Footer (ago + upvote) */
	
	.fwf-card-footer {
		font-size: 0.8rem;
		position: relative;
		padding: 8px 16px 20px;
	}
}
	
	
	
	/* =============================================
	   31. MOBILE — max-width: 600px
	   ============================================= */

@media (max-width: 600px) {
	.fwf-team-hero {
		padding: 24px 16px 20px;
	}
	
	.fwf-team-badge {
		width: 140px;
		height: 140px;
		margin-bottom: 16px;
	}
	
	.fwf-team-info h1 {
		font-size: 1.4rem;
		margin-bottom: 6px;
	}
	
	.fwf-team-mobile-league {
		font-size: 0.78rem;
	}
	
	.fwf-wiki-strip {
		padding: 14px 16px 18px;
	}
	
	.fwf-matches-body {
		padding: 12px 8px 16px;
	}
	
	.fwf-section-title {
		font-size: 0.72rem;
	}

    /* Match rows */
	
	.fwf-match-home {
		align-items: center !important;
		text-align: center !important;
	}
	
	.fwf-match-away {
		align-items: center !important;
		text-align: center !important;
	}
	
	.fwf-match-badge {
		width: 64px !important;
		height: 64px !important;
	}
	
	.fwf-match-row {
		grid-template-columns: 48px 1fr auto 1fr;
		gap: 8px;
		padding: 10px;
	}
	
	.fwf-match-date-day {
		font-size: 2.2rem;
	}
	
	.fwf-match-score-centre {
		min-width: 52px;
	}
	
	.fwf-match-home, .fwf-match-away {
		font-size: 0.95rem;
		line-height: 1.1rem;
		text-align: center;
	}

    /* League table — default (Full/Short view) */
	
	.fwf-standings-table th:first-child, .fwf-standings-table td:first-child {
		width: auto;
		min-width: 0;
	}
	
	.fwf-standings-table th.center, .fwf-standings-table td.center {
		width: 32px;
		padding-left: 4px;
		padding-right: 10px;
		white-space: nowrap;
		text-align: center;
	}
	
	.fwf-standings-table th.center:last-child, .fwf-standings-table td.center:last-child {
		padding-right: 5px;
	}

    /* League table — Form view */
	
	.fwf-tview-form .fwf-col-wdl {
		display: none !important;
	}
	
	.fwf-tview-form .fwf-col-form {
		display: table-cell !important;
		width: 116px !important;
		min-width: 116px !important;
		padding: 4px 6px !important;
	}
	
	.fwf-tview-form .fwf-standings-table {
		table-layout: fixed;
	}
	
	.fwf-tview-form .fwf-standings-table th:first-child, .fwf-tview-form .fwf-standings-table td:first-child {
		width: auto;
		min-width: 0;
		overflow: hidden;
	}
	
	.fwf-tview-form .fwf-standings-table .fwf-team-cell-name {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	
	.fwf-form-cell {
		flex-wrap: nowrap;
		gap: 2px;
		justify-content: center;
	}
	
	.fwf-form-box {
		width: 20px;
		height: 20px;
		font-size: 0.6rem;
		margin-right: 0;
		flex-shrink: 0;
	}
}
	
	/* =============================================
	   TEAM DIRECTORY — extracted from mod_team_page v2.77
	   ============================================= */

#fwf-team-directory {
	font-family: Arial, sans-serif;
	padding: 0 0 40px;
	background: var(--fwf-grey-light);
}

.itemid-132 .item-page, .itemid-132 #sp-component, .itemid-132 .sp-column, .itemid-132 #sp-main-body, .itemid-132 .com_djleague, .itemid-132 main, .itemid-132 .page-content, .itemid-132 .content, .itemid-132 #content, .itemid-132 .container-component, .itemid-132 article {
	background-color: var(--fwf-grey-light)  !important;
}

.fwf-dir-header {
	background: var(--fwf-charcoal);
	color: #fff;
	padding: 32px 40px;
	margin-bottom: 0;
	border-radius: 10px 10px 0 0;
	box-sizing: border-box;
}

.fwf-dir-header h1 {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0 0 4px;
	color: #fff;
}

.fwf-dir-header p {
	font-size: 0.88rem;
	color: rgba(255,255,255,0.6);
	margin: 0;
}

.fwf-dir-filter-bar {
	background: #757575;
	border-radius: 0 0 10px 10px;
	padding: 12px 16px;
	margin-bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	box-sizing: border-box;
	width: 100%;
}

.fwf-dir-select-wrap {
	display: flex;
	flex-direction: column;
	margin-right: 12px;
	margin-bottom: 4px;
}

.fwf-dir-select-label {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.7);
	margin-bottom: 4px;
}

.fwf-dir-select {
	padding: 7px 32px 7px 12px;
	font-size: 0.82rem;
	font-weight: 600;
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 20px;
	background: rgba(255,255,255,0.15);
	color: #fff;
	cursor: pointer;
	font-family: Arial, sans-serif;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	min-width: 140px;
	max-width: 100%;
}

.fwf-dir-select:focus {
	outline: none;
	border-color: #fff;
}

.fwf-dir-select option {
	background: #1a1a2e;
	color: #fff;
	font-weight: 600;
}

.fwf-dir-search {
	margin-bottom: 16px;
}

.fwf-dir-search input {
	width: 100%;
	padding: 10px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 20px;
	font-size: 0.9rem;
	font-family: Arial, sans-serif;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.fwf-dir-search input:focus {
	outline: none;
	border-color: #1a1a2e;
}

.fwf-dir-letter {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	background: #757575;
	padding: 4px 12px;
	border-radius: 4px;
	display: inline-block;
	margin: 16px 0 10px 10px;
}

.fwf-dir-grid-outer {
	margin-bottom: 4px;
}

.fwf-dir-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	grid-gap: 10px;
	width: 100%;
	max-width: 1400px;
	box-sizing: border-box;
}

.fwf-dir-card {
	display: flex;
	align-items: center;
	padding: 10px 14px;
	border: 1px solid #eee;
	border-radius: 6px;
	text-decoration: none !important;
	color: #1a1a2e !important;
	font-size: 0.85rem;
	font-weight: 600;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
	background: #fff;
	box-sizing: border-box;
	width: 100%;
}

.fwf-dir-card:hover {
	background: #f7f7f2;
	border-color: #f0a500;
	transform: translateY(-1px);
}

.fwf-dir-badge {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
	margin-right: 10px;
	margin-top: 2px;
}

.fwf-dir-team-info {
	min-width: 0;
}

.fwf-dir-team-name {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fwf-dir-team-div {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	color: #888;
}

.fwf-dir-empty {
	color: #aaa;
	font-style: italic;
	font-size: 0.88rem;
	padding: 12px 0;
}

.fwf-dir-section {
	padding: 0;
}

@media (max-width: 768px) {
	.fwf-dir-header {
		padding: 20px 16px;
	}
	
	.fwf-dir-header h1 {
		font-size: 1.4rem;
	}
	
	.fwf-dir-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
	
	.fwf-dir-select {
		min-width: 120px;
	}
	
	.fwf-dir-select-wrap {
		margin-right: 8px;
	}
}
	@media (max-width: 700px) {
	.fwf-dir-grid {
		grid-template-columns: 1fr;
		grid-gap: 8px;
	}
}
	@media (max-width: 480px) {
	.fwf-dir-header {
		padding: 16px 14px;
	}
	
	.fwf-dir-grid {
		grid-template-columns: 1fr;
		grid-gap: 8px;
	}
	
	.fwf-dir-card {
		font-size: 0.8rem;
		padding: 8px 10px;
	}
	
	.fwf-dir-badge {
		width: 26px;
		height: 26px;
		margin-right: 7px;
	}
	
	.fwf-dir-select-wrap {
		width: 100%;
		margin-right: 0;
		margin-bottom: 8px;
	}
	
	.fwf-dir-select {
		min-width: 100%;
		box-sizing: border-box;
	}
	
	.fwf-dir-filter-bar {
		gap: 0;
	}
}
	

/* =============================================
	   31. Article pages
   ============================================= */

.article-container {
	max-width: 900px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.article {
	font-size: 1.2rem;
	padding: 20px 10px;
	text-align: justify;
	line-height: 1.8rem;
}

ul.article {
	padding: 0 0 0 60px;
}

.article li {
	font-size: 1.2rem;
}

.article img {
	border-radius: 15px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
}

.fwf-heading-bar h3 {
	padding: 10px;
	color: black;
	font-size: 1.8rem;
	margin: 0;
}

.fwf-guides-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 0 0 20px;
}

.fwf-guide-card {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	text-decoration: none;
	margin-right: 10px;
	margin-left: 10px;
}

.fwf-guide-card img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.fwf-guide-card h3 {
	color: #555;
	margin: 14px 16px 0;
	font-size: 1.2rem;
	padding-right: 10px;
	padding-left: 10px;
}

.fwf-guide-card p {
	margin: 10px 25px 25px;
	color: #333333;
	line-height: 1.4em;
	text-align: justify;
}

@media (max-width: 600px) {
	.fwf-guides-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   PLAYER POSITIONS — INTERACTIVE PITCH
   Paste this block into user.css. Self-contained; uses fwf- prefixes so it
   won't clash with anything else on the site.
   ========================================================================== */

.fwf-pitch-wrap {
	max-width: 520px;
	margin: 0 auto 1.5em;
}

/* --- Controls (formation drop-down) --- */

.fwf-pitch-controls {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.8em;
	font-weight: 600;
}

.fwf-pitch-controls label {
	font-size: 1rem;
}

.fwf-pitch-controls select {
	padding: 0.4em 0.6em;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

/* --- The pitch itself --- */

.fwf-pitch {
	position: relative;
	width: 100%;
	  /* portrait pitch: taller than wide (squashed 10% so mobile shows the dropdown) */
	aspect-ratio: 2 / 2.4;
	background: #2e8b57; /* pitch green */
	background-image: repeating-linear-gradient(
    to bottom,
    #2e8b57 0,
    #2e8b57 9.09%,
    #2f9159 9.09%,
    #2f9159 18.18%
  );
	border: 3px solid #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Pitch markings */

.fwf-pitch-line {
	position: absolute;
	background: rgba(255,255,255,0.85);
}

.fwf-pitch-halfway {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
}

.fwf-pitch-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30%;
	aspect-ratio: 1 / 1;
	border: 2px solid rgba(255,255,255,0.85);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.fwf-pitch-box {
	position: absolute;
	left: 50%;
	width: 46%;
	height: 14%;
	border: 2px solid rgba(255,255,255,0.85);
	transform: translateX(-50%);
}

.fwf-pitch-box-top {
	top: 0;
	border-top: none;
}

.fwf-pitch-box-bottom {
	bottom: 0;
	border-bottom: none;
}

/* --- Player dots --- */

.fwf-player {
	position: absolute;
	width: 12%;
	transform: translate(-50%, -50%);
	text-align: center;
	cursor: pointer;
	transition: top 0.4s ease, left 0.4s ease;
	z-index: 2;
}

.fwf-player-dot {
	width: 30px;
	height: 30px;
	margin: 0 auto;
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #1a3d2b;
	border-radius: 50%;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 26px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.fwf-player-gk .fwf-player-dot {
	background: #ffd633; /* keeper stands out */
}

.fwf-player-label {
	margin-top: 2px;
	font-size: 0.62rem;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	line-height: 1.1;
}

/* Tooltip shown on hover / tap */

.fwf-player-tip {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	width: 150px;
	padding: 0.5em 0.6em;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.94rem; /* ~130% of 0.72rem */
	font-weight: 400;
	line-height: 1.3;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.5);
	z-index: 20;
	white-space: normal;
}

.fwf-player.is-active .fwf-player-tip, .fwf-player:hover .fwf-player-tip {
	display: block;
}

/* Edge players: shift the tooltip inward so it isn't clipped by the pitch edge */

.fwf-player-edge-left .fwf-player-tip {
	left: 0;
	transform: translateX(-15%);
}

.fwf-player-edge-right .fwf-player-tip {
	left: auto;
	right: 0;
	transform: translateX(15%);
}

/* lift the active/hovered player above its neighbours so nothing overlaps the tip */

.fwf-player.is-active, .fwf-player:hover {
	z-index: 15;
}

.fwf-pitch-caption {
	margin-top: 0.7em;
	text-align: center;
	font-style: italic;
	font-size: 0.9rem;
	color: #555;
}

/* --- Mobile --- */

@media (max-width: 600px) {
	.fwf-pitch-wrap {
		max-width: 100%;
	}
	
	.fwf-player-dot {
		width: 26px;
		height: 26px;
		line-height: 22px;
		font-size: 0.65rem;
	}
	
	.fwf-player-label {
		font-size: 0.55rem;
	}
	
	.fwf-player-tip {
		width: 140px;
		font-size: 0.88rem;
	}
}

.registration legend {
	display: none;
}


/* ── Registration form: light grey card ── */
.registration {
	background: #F4F4F4;
	padding: 2rem;
	border-radius: 12px;
	max-width: 560px;
	margin: 1.5rem auto;
}

/* League hero shares the team-page wrapper — strip its own rounding/margin
   so .fwf-hero-wiki-wrap clips it flush against the blurb box below */
.fwf-hero-wiki-wrap > .fwf-lp-hero {
	border-radius: 0;
	margin-bottom: 0;
}
