BODY,INPUT,SELECT,TD,TH
{
	font-family: verdana;
	font-size: 16px;
	font-weight: normal; 
	color: #333333;
    SCROLLBAR-FACE-COLOR: #314177;
    SCROLLBAR-HIGHLIGHT-COLOR: white;
    SCROLLBAR-SHADOW-COLOR: black;
    SCROLLBAR-ARROW-COLOR: white;
    SCROLLBAR-DARKSHADOW-COLOR: black;
}

.nolink
{
	text-decoration: none;
}
.title1
{
	font-family: verdana;
	font-weight: bold;
	font-size: 24pt;
}

.loud
{
	font-family: verdana;
	font-weight: bold;
	font-size: 24pt;
}

.maintitle
{
	font-family: verdana;
	font-weight: bold;
	font-size: 24pt;
	font-align: center;
}

.caption
{
	font-family: verdana;
	font-size: 16pt;
/*	color: #808080 */
}

.captionright
{
	font-family: verdana;
	font-size: 16pt;
	text-align: right;
}

.photocredit
{
	font-family: verdana;
	font-size: 16pt;
}
.phototitle
{
	font-family: verdana;
	font-size: 18pt;
}

.title2
{
	font-family: verdana;
	font-weight: bold;
	font-size: 18pt;
}

A:link, A:visited, A:active
{
	color: #333333;
}

A:hover
{
	color: #999999;
}


TD.infoleftme
{
	background: #bbddff;
	border: none;
	text-align: left;
	vertical-align: middle;
}

TD.infoleft
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
}

TD.infoleftbold
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
}

TD.infoleftbolditalics
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
	font-style: italic;
}

TD.infoitalics
{
	background: #efefef;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-style: italic;
	font-weight: normal;
}

TD.infoleftitalics
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-style: italic;
}

TD.inforight
{
	background: #d3e5fa;
	border: none;
	text-align: right;
	vertical-align: middle;
}

TD.info
{
	background: #d3e5fa;
	border: none;
	text-align: center;
	vertical-align: middle;
}

TD.infome
{
	background: #bbddff;
	border: none;
	text-align: center;
	vertical-align: middle;
}

TD.infoprivate
{
	background: #bbddff;
	border: none;
	text-align: center;
	vertical-align: middle;
}

TD.infoboldcenter
{
	background: #d3e5fa;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

TD.infobold
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
}
TD.bold
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
}

TD.score
{
	background: #d3e5fa;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

TH.info
{
	background: #000099;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	color: #FFFFFF;
}
TH.infoleft
{
	background: #000099;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
	color: #FFFFFF;
}


TH.infoaward
{
	background: #000099;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
	color: #FFFFFF;
}



A.data:link,A.data:visited,A.data:active
{
	color: #333333;
}

A.data:hover
{
	color: #6B81B9;
}


A.info:link,A.info:visited,A.info:active
{
	color: #888888;
}

A.info:hover
{
	color: #6B81B9;
}




TD.bold
{
	background: #d3e5fa;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
}

TD.score
{
	background: #d3e5fa;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

TH.info
{
	background: #000099;
	border: none;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	color: #FFFFFF;

}

TH.factfile
{
	background: #FFFFFF;
	border: none;
	text-align: left;
	vertical-align: middle;
	font-weight: bold;
/*	color: FFFFFF; */

}

TD.factfile
{
	background: #FFFFFF;
	border: none;
	text-align: left;
	vertical-align: middle;
/*	color: FFFFFF; */

}

TD.fixtures
{
	background: #cceeff;
	border: none;
	text-align: center;
	vertical-align: middle;
}
TD.fixturesred
{
	background: #cceeff;
	border: none;
	text-align: center;
	vertical-align: middle;
	color: #FF0000;
}
TD.fixtures_away
{
	background: #bbddff;
	border: none;
	text-align: center;
	vertical-align: middle;
}
TD.fixturesred_away
{
	background: #bbddff;
	border: none;
	text-align: center;
	vertical-align: middle;
	color: #FF0000;
}

TH.fixtures
{
	background: #000099;
	border: none;
	text-align: center;
	vertical-align: middle;
	color: #FFFFFF;
}

/* -----------------------------
   Modern mobile refresh (2026)
   ----------------------------- */

:root {
	--ckc-bg: #0b1220;
	--ckc-shell-bg: #ffffff;
	--ckc-text: #0f172a;
	--ckc-muted: #475569;
	--ckc-border: #e2e8f0;
	--ckc-surface: #f8fafc;
	--ckc-surface-2: #f1f5f9;
	--ckc-brand: #205A94;
	--ckc-brand-2: #314177;
	--ckc-link: #1d4ed8;
	--ckc-danger: #b91c1c;
	--ckc-radius: 16px;
	--ckc-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

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

html {
	width: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden;
}

body.ckc-mobile-body {
	margin: 0;
	background: radial-gradient(1200px 600px at 30% -10%, rgba(32, 90, 148, 0.45), transparent 60%),
		radial-gradient(900px 500px at 100% 0%, rgba(49, 65, 119, 0.35), transparent 55%),
		var(--ckc-bg);
	color: var(--ckc-text);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 16px;
	line-height: 1.45;
	padding: 12px;
	padding-left: max(12px, env(safe-area-inset-left));
	padding-right: max(12px, env(safe-area-inset-right));
	padding-top: max(12px, env(safe-area-inset-top));
	padding-bottom: max(16px, env(safe-area-inset-bottom));
}

/* Override legacy BODY/TD/TH pt sizing on mobile */
body.ckc-mobile-body,
body.ckc-mobile-body td,
body.ckc-mobile-body th,
body.ckc-mobile-body input,
body.ckc-mobile-body select {
	font-family: inherit;
	color: var(--ckc-text);
}

body.ckc-mobile-body td,
body.ckc-mobile-body th {
	font-size: 14px;
}

.ckc-mobile-shell {
	width: 100%;
	min-width: 0;
	/* Classic mobile: cap width to header art; v2 overrides to full viewport */
	max-width: 940px;
	margin: 0 auto;
	background: var(--ckc-shell-bg);
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: calc(var(--ckc-radius) + 4px);
	box-shadow: var(--ckc-shadow);
	overflow: hidden;
}

.ckc-mobile-content {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 14px;
	box-sizing: border-box;
	overflow-x: auto;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	-webkit-overflow-scrolling: touch;
}

/* Match report: stay within viewport (scorers row + nested layout tables) */
body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	box-sizing: border-box;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers > tbody > tr {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px 14px;
	width: 100%;
	max-width: 100%;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers > tbody > tr > td {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* Tight column under each photo: name + goals stay adjacent, cell width follows content */
body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers .ckc-mr-scorer-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers .ckc-mr-scorer-caption {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: center;
	column-gap: 0.35em;
	margin-top: 2px;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers .ckc-mr-scorer-goals {
	white-space: nowrap;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers .ckc-mr-scorer-cell.ckc-mr-scorer-mvp .ckc-mr-scorer-name {
	font-weight: 700;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers .ckc-mr-scorer-cell.ckc-mr-scorer-mvp .ckc-mr-scorer-goals {
	font-weight: normal;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-scorers > tbody > tr > td img {
	max-width: min(88px, 24vw);
	width: auto;
	height: auto !important;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-milestones > tbody > tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-milestones > tbody > tr > td {
	display: block;
	flex: 1 1 160px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	text-align: left;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-milestones > tbody > tr > td:first-child {
	flex: 0 0 auto;
	text-align: center;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-milestones img {
	max-width: min(88px, 24vw);
	height: auto !important;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-notes {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-notes-inner {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

body.ckc-mobile-body .ckc-mobile-content article.ckc-mobile-match-report table.ckc-mr-notes-inner > tbody > tr > td {
	word-break: break-word;
	overflow-wrap: anywhere;
}

.ckc-mobile-content table {
	max-width: 100%;
}

.ckc-mobile-layout {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
}

img.ckc-mobile-header {
	display: block;
	width: 100%;
	height: auto;
}

/* Keep images responsive by default */
img {
	max-width: 100%;
	height: auto;
}

/* Match photos should be responsive and properly sized on mobile */
.ckc-mobile-match-photo {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

/* Container for home tiles to allow natural flow */
.ckc-mobile-tiles-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 5px;
	width: 100%;
	align-items: stretch;
}

/* Wrapper for each tile to ensure consistent sizing */
.ckc-mobile-tiles-container > a {
	display: flex;
	width: 175px;
	height: 151px;
	background: var(--ckc-shell-bg);
	border-radius: calc(var(--ckc-radius) - 2px);
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
	transform: translateY(0);
	transition: transform 140ms ease-out, box-shadow 140ms ease-out;
	box-sizing: border-box;
	overflow: hidden;
}

.ckc-mobile-tiles-container > a:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

/* Home tiles (icons) */
.ckc-mobile-tile {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 0;
	box-sizing: border-box;
}

a:focus-visible .ckc-mobile-tile,
a:hover .ckc-mobile-tile {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

/* Typography helpers from legacy classes */
.title1,
.maintitle {
	font-family: inherit;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.01em;
	margin: 10px 0 10px 0;
	color: var(--ckc-text);
}

.title2 {
	font-family: inherit;
	font-weight: 750;
	font-size: 16px;
	margin: 6px 0;
	color: var(--ckc-text);
}

.caption,
.captionright,
.photocredit {
	font-family: inherit;
	font-size: 13px;
	color: var(--ckc-muted);
}

p {
	margin: 10px 0;
}

a,
A:link,
A:visited,
A:active {
	color: var(--ckc-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

A:hover {
	color: #1e40af;
}

.nolink {
	text-decoration: none;
	color: inherit;
}

hr {
	border: none;
	border-top: 1px solid var(--ckc-border);
	margin: 12px 0;
}

/* Forms */
input[type="text"],
input[type="password"],
select {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.2;
	padding: 10px 12px;
	border: 1px solid var(--ckc-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ckc-text);
	outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
	border-color: rgba(32, 90, 148, 0.55);
	box-shadow: 0 0 0 4px rgba(32, 90, 148, 0.16);
}

/* Match desktop ckc-buttons.css labeled primary outline (.ckc-btn--add:not(.ckc-btn--icon-only)) */
body.ckc-mobile-body input[type="submit"],
body.ckc-mobile-body input[type="button"],
body.ckc-mobile-body button:not(.ckc-m2-menu-btn):not(.ckc-m2-drawer-close):not(.ckc-btn):not(.match-report-thumbnails__thumb):not(.match-report-img-action) {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	font-family: var(--ckc-btn-font, verdana), sans-serif;
	font-size: 10pt;
	font-weight: 600;
	line-height: 1.2;
	padding: 2px 6px;
	border-radius: var(--ckc-btn-radius, 6px);
	border: 1px solid var(--ckc-btn-primary, #314177);
	background: transparent !important;
	color: var(--ckc-btn-primary, #314177) !important;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
	white-space: nowrap;
	vertical-align: middle;
}

body.ckc-mobile-body input[type="submit"]:hover,
body.ckc-mobile-body input[type="button"]:hover,
body.ckc-mobile-body button:not(.ckc-m2-menu-btn):not(.ckc-m2-drawer-close):not(.ckc-btn):not(.match-report-thumbnails__thumb):not(.match-report-img-action):hover {
	filter: none;
	color: var(--ckc-btn-primary-hover, #253060) !important;
	border-color: var(--ckc-btn-primary-hover, #253060);
}

body.ckc-mobile-body input[type="submit"]:focus,
body.ckc-mobile-body input[type="button"]:focus,
body.ckc-mobile-body button:not(.ckc-m2-menu-btn):not(.ckc-m2-drawer-close):not(.ckc-btn):not(.match-report-thumbnails__thumb):not(.match-report-img-action):focus {
	outline: 2px solid var(--ckc-btn-primary, #314177);
	outline-offset: 2px;
}

/* Tables: keep legacy class names, modern styling */
.ckc-table {
	width: 100%;
	border: 1px solid var(--ckc-border);
	border-radius: 14px;
	background: #fff;
}

.ckc-table--compact td,
.ckc-table--compact th {
	padding: 8px 10px;
}

.ckc-table td,
.ckc-table th {
	border-bottom: 1px solid var(--ckc-border);
}

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

th.info,
th.infoleft,
th.inforight,
th.infosmall,
th.infoaward,
th.fixtures {
	background: var(--ckc-brand-2);
	color: #fff;
	border: none;
	padding: 10px 10px;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: none;
}

/* Ensure all table headers have white text by default (except factfile which has white background) */
body.ckc-mobile-body table th:not(.factfile) {
	color: #FFFFFF;
}

td.infoleft,
td.infoleftbold,
td.infoleftbolditalics,
td.infoleftitalics,
td.infoleftme,
td.inforight,
td.info,
td.infome,
td.infoprivate,
td.infoboldcenter,
td.infobold,
td.bold,
td.score,
td.fixtures,
td.fixturesred,
td.fixtures_away,
td.fixturesred_away {
	border: none;
	padding: 10px 10px;
	background: var(--ckc-surface);
	color: var(--ckc-text);
}

td.infoleftme,
td.infome,
td.infoprivate {
	background: #eef6ff;
}

td.infoleftbold,
td.infobold,
td.bold,
td.score,
td.infoboldcenter {
	font-weight: 800;
}

td.infoleftbolditalics {
	font-weight: 800;
	font-style: italic;
}

td.infoleftitalics,
td.infoitalics {
	font-style: italic;
}

td.fixturesred,
td.fixturesred_away {
	color: var(--ckc-danger);
}

td.fixtures_away,
td.fixturesred_away {
	background: #eef6ff;
}

td.fixtures,
td.fixturesred {
	background: var(--ckc-surface);
}

/* Give dense data tables some breathing room */
table {
	border-collapse: separate;
	border-spacing: 0;
}

/* Better tap targets for table links */
td a {
	display: inline-block;
	padding: 2px 0;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.totm-card {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.ckc-mobile-tile {
		transition: none !important;
	}
}

/* Profile: News + Log out (mobile/profile.php) */
.ckc-mobile-profile-topnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.ckc-mobile-profile-topnav .ckc-mobile-home-link {
	margin-bottom: 0;
}

/* Home button for sub pages */
.ckc-mobile-home-link {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--ckc-link);
	text-decoration: none;
	padding: 6px 10px;
	border: 1px solid var(--ckc-border);
	border-radius: 8px;
	background: var(--ckc-surface);
}

.ckc-mobile-home-link:hover {
	background: var(--ckc-surface-2);
	color: #1e40af;
}

/* Mobile profile (mobile/profile.php) */
.ckc-mobile-profile .ckc-mobile-profile-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 12px;
}

.ckc-mobile-profile-identity {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	flex: 0 1 auto;
	min-width: 0;
}

.ckc-mobile-profile-identity-main {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-width: 0;
	flex: 1 1 auto;
}

.ckc-mobile-profile-name {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ckc-text);
	min-width: 0;
	margin-bottom: 14px;
}

.ckc-mobile-profile-identity .ckc-mobile-profile-actions {
	margin: 0;
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 8px;
}

.ckc-mobile-profile-identity .ckc-mobile-profile-actions > .ckc-btn {
	width: 100%;
	box-sizing: border-box;
	justify-content: flex-start;
}

.ckc-mobile-profile-identity .ckc-mobile-profile-actions > a:not(.ckc-btn) {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.ckc-mobile-profile-photo {
	display: block;
	flex-shrink: 0;
	max-width: min(200px, 42vw);
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--ckc-border);
}

.ckc-mobile-profile-facts {
	flex: 1 1 200px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ckc-mobile-profile-stats {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ckc-mobile-profile-facts td,
.ckc-mobile-profile-stats td {
	vertical-align: top;
}

.ckc-mobile-profile-label {
	font-weight: 700;
	color: var(--ckc-muted);
	padding-right: 10px;
	white-space: nowrap;
}

.ckc-mobile-profile-actions {
	margin: 12px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

/* Classic mobile top nav (mobile-shell.inc.php) */
.ckc-mobile-classic-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 0 0 2px 0;
	padding: 8px 0 6px 0;
	font-size: 0.88rem;
	line-height: 1.35;
	border-bottom: 1px solid var(--ckc-border);
}

.ckc-mobile-classic-nav a {
	white-space: nowrap;
}

a.ckc-mobile-classic-nav-login-register {
	font-weight: 700;
}

.ckc-mobile-classic-nav-sep {
	color: var(--ckc-muted);
	user-select: none;
}

a.ckc-mobile-classic-nav-ref-soon {
	font-weight: 700;
	color: var(--ckc-link);
}

a.ckc-mobile-classic-nav-avail-cta {
	font-weight: 700;
	color: var(--ckc-danger);
}

a.ckc-mobile-classic-nav-avail-warn {
	font-weight: 700;
	color: #b45309;
}

/* Mobile goals (mobile/goals.php) */
.ckc-mobile-goals-filters {
	margin: 0 0 16px 0;
	padding: 12px;
	border: 1px solid var(--ckc-border);
	border-radius: 10px;
	background: var(--ckc-surface);
	max-width: 100%;
	box-sizing: border-box;
}

.ckc-mobile-goals-field {
	margin-bottom: 10px;
}

.ckc-mobile-goals-field:last-of-type {
	margin-bottom: 0;
}

.ckc-mobile-goals-label {
	display: block;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--ckc-muted);
	margin-bottom: 4px;
}

.ckc-mobile-goals-select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 1rem;
	border: 1px solid var(--ckc-border);
	border-radius: 8px;
	background: #fff;
}

.ckc-mobile-goals-actions {
	margin-top: 12px;
}

.ckc-mobile-goals-submit {
	padding: 10px 18px;
	font-size: 1rem;
	border-radius: 8px;
	border: 1px solid var(--ckc-border);
	background: var(--ckc-surface-2);
	cursor: pointer;
}

.ckc-mobile-goals-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ckc-mobile-goals-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid var(--ckc-border);
}

.ckc-mobile-goals-item:last-child {
	border-bottom: none;
}

.ckc-mobile-goals-item--me {
	background: rgba(59, 130, 246, 0.08);
	margin: 0 -8px;
	padding: 10px 8px;
	border-radius: 8px;
	border-bottom-color: transparent;
}

.ckc-mobile-goals-rank {
	flex: 0 0 1.75rem;
	font-weight: 700;
	color: var(--ckc-muted);
	text-align: right;
	padding-top: 2px;
}

.ckc-mobile-goals-body {
	flex: 1;
	min-width: 0;
}

.ckc-mobile-goals-name {
	font-weight: 700;
	margin-bottom: 6px;
	word-wrap: break-word;
}

.ckc-mobile-goals-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 12px;
	font-size: 0.92rem;
	line-height: 1.35;
}

.ckc-mobile-goals-scoring-row {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin-top: 2px;
}

.ckc-mobile-goals-scoring-sep {
	color: var(--ckc-muted);
	user-select: none;
	padding: 0 2px;
}

.ckc-mobile-goals-k {
	color: var(--ckc-muted);
	font-weight: 600;
	margin-right: 4px;
}

.ckc-mobile-goals-empty,
.ckc-mobile-goals-footnote,
.ckc-mobile-goals-desktop {
	margin: 10px 0;
	font-size: 0.95rem;
}

/* Mobile reffing commitments (mobile/reffing.php) */
.ckc-mobile-reffing-list {
	list-style: none;
	margin: 0 0 16px 0;
	padding: 0;
}

.ckc-mobile-reffing-card {
	border: 1px solid var(--ckc-border);
	border-radius: 10px;
	background: var(--ckc-surface);
	padding: 12px 14px;
	margin-bottom: 10px;
}

.ckc-mobile-reffing-card:last-child {
	margin-bottom: 0;
}

.ckc-mobile-reffing-date {
	font-weight: 700;
	font-size: 1.05rem;
}

.ckc-mobile-reffing-date--weekday {
	color: #dc2626;
}

.ckc-mobile-reffing-today {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	background: #2563eb;
	border-radius: 6px;
	vertical-align: middle;
}

.ckc-mobile-reffing-time {
	margin-top: 4px;
	font-size: 0.95rem;
	color: var(--ckc-muted);
}

.ckc-mobile-reffing-type {
	margin-top: 8px;
	font-weight: 700;
	color: var(--ckc-text);
}

.ckc-mobile-reffing-match {
	margin-top: 6px;
	font-size: 0.95rem;
	line-height: 1.4;
}

.ckc-mobile-reffing-vs {
	color: var(--ckc-muted);
	font-weight: 600;
	padding: 0 4px;
}

.ckc-mobile-reffing-venue {
	margin-top: 8px;
	font-size: 0.92rem;
}

.ckc-mobile-reffing-note {
	margin: 14px 0 8px 0;
	font-size: 0.9rem;
	color: var(--ckc-muted);
	line-height: 1.45;
}

.ckc-mobile-reffing-empty,
.ckc-mobile-reffing-error {
	margin: 12px 0;
	font-size: 0.95rem;
}

.ckc-mobile-goals-footnote {
	color: var(--ckc-muted);
	font-size: 0.88rem;
}

/* Match report photo carousel (aligned with desktop match_report.php) */
.ckc-mobile-match-report-photos {
	text-align: center;
	margin: 12px 0;
}

.match-report-carousel {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.match-report-carousel__main {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin-bottom: 10px;
}

.match-report-carousel__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.match-report-carousel__row > .ckc-btn {
	flex-shrink: 0;
	align-self: center;
}

.match-report-carousel__img-wrap {
	position: relative;
	display: block;
	line-height: 0;
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.match-report-carousel__img-wrap .match-report-delete-photo {
	position: absolute;
	bottom: 8px;
	right: 8px;
	z-index: 2;
}

.match-report-carousel__img-overlay {
	position: absolute;
	bottom: 8px;
	left: 8px;
	display: flex;
	flex-direction: row;
	gap: 6px;
	z-index: 2;
}

.match-report-img-action {
	width: 36px;
	height: 36px;
	min-width: 36px;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex-shrink: 0;
}

.match-report-img-action:hover {
	background: rgba(49, 65, 119, 0.95);
	color: #fff;
}

.match-report-img-action svg {
	width: 20px;
	height: 20px;
}

/* Main photo: cap size on phones; stays between prev/next */
body.ckc-mobile-body .match-report-carousel__img-wrap img.ckc-mobile-match-photo {
	display: block;
	width: auto;
	max-width: min(100%, 280px);
	max-height: min(52vh, 260px);
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

/* Stroke icons on prev/next photo buttons (ckc-buttons sets fill on svg) */
body.ckc-mobile-body .match-report-carousel__row .ckc-btn--prev-photo .ckc-btn__icon svg,
body.ckc-mobile-body .match-report-carousel__row .ckc-btn--next-photo .ckc-btn__icon svg {
	fill: none;
	stroke: currentColor;
}

.match-report-carousel__row button:disabled {
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
}

/* Thumbnail strip: single horizontal row, ~4 visible, scroll for more; kill iOS button chrome (blue) */
body.ckc-mobile-body .match-report-thumbnails {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	margin-top: 8px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 4px 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

body.ckc-mobile-body .match-report-thumbnails::-webkit-scrollbar {
	height: 6px;
}

body.ckc-mobile-body .match-report-thumbnails::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

/* Thumbnail cells: smaller tiles, ~4+ per row depending on width */
body.ckc-mobile-body .match-report-thumbnail-wrap {
	flex: 0 0 clamp(52px, 17vw, 68px);
	width: clamp(52px, 17vw, 68px);
	display: block;
	box-sizing: border-box;
}

@media (min-width: 420px) {
	body.ckc-mobile-body .match-report-thumbnail-wrap {
		flex: 0 0 clamp(56px, 14vw, 72px);
		width: clamp(56px, 14vw, 72px);
	}
}

@media (min-width: 560px) {
	body.ckc-mobile-body .match-report-thumbnail-wrap {
		flex: 0 0 clamp(60px, 12vw, 76px);
		width: clamp(60px, 12vw, 76px);
	}
}

body.ckc-mobile-body .match-report-thumbnails__thumb {
	display: block;
	width: 100%;
	height: 0;
	padding: 0;
	padding-bottom: 75%;
	margin: 0;
	position: relative;
	box-sizing: border-box;
	border: 2px solid #d1d5db;
	border-radius: 6px;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
	-webkit-appearance: none;
	appearance: none;
	background: #f1f5f9 !important;
	color: inherit;
}

body.ckc-mobile-body .match-report-thumbnails__thumb:hover {
	border-color: #314177;
}

body.ckc-mobile-body .match-report-thumbnails__thumb.active {
	border-color: #314177;
	opacity: 1;
	box-shadow: 0 0 0 2px rgba(49, 65, 119, 0.25);
}

body.ckc-mobile-body .match-report-thumbnails__thumb:not(.active) {
	opacity: 0.92;
}

body.ckc-mobile-body .match-report-thumbnails__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.match-report-delete-photo {
	width: 36px;
	height: 36px;
	min-width: 36px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	line-height: 1;
	flex-shrink: 0;
}

.match-report-delete-photo:hover {
	background: rgba(180, 0, 0, 0.9);
	color: #fff;
}

.match-report-delete-photo svg {
	width: 20px;
	height: 20px;
}

.match-report-delete-photo--hidden {
	display: none !important;
}

.match-report-carousel__counter {
	margin-top: 6px;
	font-size: 12px;
	color: #444;
}

/* Monthly summary (monthly-summary.php in mobile shell) */
body.ckc-mobile-body .ckc-mobile-monthly-summary {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Main page title: match desktop indexCKC .title1 (verdana 24pt bold), not mobile-wide title1 shrink */
body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-page-title {
	font-family: verdana, sans-serif;
	font-weight: bold;
	font-size: 24pt;
	line-height: 1.2;
	letter-spacing: normal;
	color: var(--ckc-text);
	margin: 10px 0 10px 0;
}

/* Player of the month: stack winner + 2nd/3rd */
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-potm-outer,
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-potm-outer > tbody,
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-potm-outer > tbody > tr {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-potm-outer > tbody > tr > td {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

/* Team of month + performances: stack */
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-team-row,
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-team-row > tbody,
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-team-row > tbody > tr {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-team-row > tbody > tr > td.ckc-ms-team-totm-cell,
body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-team-row > tbody > tr > td.ckc-ms-team-perf-cell {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	padding-right: 0 !important;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-perf-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	margin-bottom: 8px;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-perf-table {
	min-width: 480px;
	width: max-content;
	max-width: none;
}

/* Matches: horizontal scroll instead of stretching the whole page */
body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-matches-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary table.ckc-ms-matches-table {
	min-width: 560px;
	width: max-content;
	max-width: none;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-matches-table th.match-report-cell,
body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-matches-table td.match-report-cell {
	max-width: none;
	white-space: normal;
	word-break: break-word;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-matches-table td.match-report-cell a {
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
}

/* Scoring chart */
body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-chart-wrap {
	max-width: 100%;
	box-sizing: border-box;
	height: min(55vh, 420px) !important;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .milestone-grid {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .month-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	text-align: center;
	line-height: 1.4;
	margin-top: 12px;
}

body.ckc-mobile-body .ckc-mobile-monthly-summary .month-nav-disabled {
	opacity: 0.45;
}

@media (max-width: 360px) {
	body.ckc-mobile-body {
		padding: 10px;
		padding-left: max(10px, env(safe-area-inset-left));
		padding-right: max(10px, env(safe-area-inset-right));
		padding-top: max(10px, env(safe-area-inset-top));
		padding-bottom: max(14px, env(safe-area-inset-bottom));
	}

	.title1,
	.maintitle {
		font-size: 18px;
	}

	body.ckc-mobile-body .ckc-mobile-monthly-summary .ckc-ms-page-title {
		font-size: 18px;
		line-height: 1.25;
	}

	/* Home tiles become full-width on very small screens */
	.ckc-mobile-tile {
		width: calc(100% - 8px);
		max-width: none;
		margin: 6px 4px;
	}
}