/* ============================================================
   FootChat v1.3 — Full-page sports UI
   Fonts: Oswald (titles) + Inter (body) via Google Fonts
   Palette: #0F1419 bg · #151D27 surface · #1E2A38 elevated
            #10B981 emerald · #F59E0B amber · #EF4444 red
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--fc-bg:          #0F1419;
	--fc-surface:     #151D27;
	--fc-elevated:    #1E2A38;
	--fc-border:      #263445;
	--fc-green:       #10B981;
	--fc-green-dim:   #0D9268;
	--fc-amber:       #F59E0B;
	--fc-red:         #EF4444;
	--fc-text:        #E8EDF2;
	--fc-text-muted:  #7A8FA6;
	--fc-text-dim:    #4A6077;
	--fc-sidebar-w:   260px;
	--fc-font-title:  'Oswald', sans-serif;
	--fc-font-body:   'Inter', sans-serif;
	--fc-radius:      10px;
	--fc-radius-sm:   6px;
	--fc-transition:  0.2s ease;
}

/* ── Full-page app shell ── */
#fc-app {
	display: flex;
	width: 100vw;
	height: 100vh;
	background: var(--fc-bg);
	color: var(--fc-text);
	font-family: var(--fc-font-body);
	font-size: 15px;
	line-height: 1.6;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
}

/* When used as a shortcode inside a theme, use a contained layout instead */
.fc-shortcode-wrap #fc-app {
	position: relative;
	width: 100%;
	height: 90vh;
	max-height: 900px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.fc-sidebar {
	width: var(--fc-sidebar-w);
	min-width: var(--fc-sidebar-w);
	background: var(--fc-surface);
	border-right: 1px solid var(--fc-border);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	z-index: 200;
	transition: transform var(--fc-transition);
}

/* ── Sidebar header ── */
.fc-sidebar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 14px;
	border-bottom: 1px solid var(--fc-border);
	flex-shrink: 0;
}

.fc-logo {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fc-logo__icon { font-size: 20px; }
.fc-logo__text {
	font-family: var(--fc-font-title);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--fc-text);
}
.fc-logo__text span { color: var(--fc-green); }

/* ── Language switcher ── */
.fc-lang-switcher {
	position: relative;
}
.fc-lang-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	padding: 5px 8px;
	color: var(--fc-text);
	cursor: pointer;
	font-family: var(--fc-font-body);
	font-size: 12px;
	font-weight: 500;
	transition: background var(--fc-transition);
}
.fc-lang-btn:hover { background: var(--fc-border); }
.fc-lang-flag { font-size: 14px; }
.fc-lang-code { color: var(--fc-text-muted); }
.fc-lang-caret {
	color: var(--fc-text-dim);
	transition: transform var(--fc-transition);
}
.fc-lang-btn[aria-expanded="true"] .fc-lang-caret { transform: rotate(180deg); }

.fc-lang-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 150px;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 4px;
	z-index: 500;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.fc-lang-dropdown[hidden] { display: none; }

.fc-lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 10px;
	background: none;
	border: none;
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text);
	font-family: var(--fc-font-body);
	font-size: 13px;
	cursor: pointer;
	transition: background var(--fc-transition);
	text-align: left;
}
.fc-lang-option:hover { background: var(--fc-border); }
.fc-lang-option--active {
	color: var(--fc-green);
	background: rgba(16,185,129,0.08);
}

/* ── Sidebar scrollable body (replaces nav in v1.3) ── */
.fc-sidebar__body {
	flex: 1;
	overflow-y: auto;
	padding: 10px 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--fc-border) transparent;
}
.fc-sidebar__body::-webkit-scrollbar { width: 4px; }
.fc-sidebar__body::-webkit-scrollbar-track { background: transparent; }
.fc-sidebar__body::-webkit-scrollbar-thumb { background: var(--fc-border); border-radius: 2px; }
/* Legacy alias */
.fc-sidebar__nav {
	flex: 1;
	overflow-y: auto;
	padding: 10px 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--fc-border) transparent;
}
.fc-sidebar__nav::-webkit-scrollbar { width: 4px; }
.fc-sidebar__nav::-webkit-scrollbar-track { background: transparent; }
.fc-sidebar__nav::-webkit-scrollbar-thumb { background: var(--fc-border); border-radius: 2px; }

.fc-nav-section {
	margin-bottom: 6px;
}
.fc-nav-section__label {
	display: block;
	font-family: var(--fc-font-title);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--fc-text-dim);
	padding: 10px 8px 4px;
}
.fc-nav-section__hint {
	display: block;
	font-size: 11px;
	color: var(--fc-text-dim);
	padding: 0 8px 6px;
	font-style: italic;
	line-height: 1.4;
}

.fc-nav-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 9px 10px;
	background: none;
	border: none;
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text-muted);
	font-family: var(--fc-font-body);
	font-size: 13.5px;
	cursor: pointer;
	transition: background var(--fc-transition), color var(--fc-transition);
	text-align: left;
}
.fc-nav-item:hover {
	background: var(--fc-elevated);
	color: var(--fc-text);
}
.fc-nav-item:active {
	background: var(--fc-border);
}
.fc-nav-item--new {
	color: var(--fc-green);
	font-weight: 600;
	margin-bottom: 6px;
}
.fc-nav-item--new:hover {
	background: rgba(16,185,129,0.1);
	color: var(--fc-green);
}

/* Live dot */
.fc-live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fc-red);
	animation: fc-pulse 1.4s infinite;
	flex-shrink: 0;
}
@keyframes fc-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%       { opacity: 0.4; transform: scale(0.85); }
}

/* ── Sidebar footer ── */
.fc-sidebar__footer {
	border-top: 1px solid var(--fc-border);
	padding: 12px 14px;
	flex-shrink: 0;
}
.fc-plan-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	padding: 8px 10px;
	margin-bottom: 8px;
	font-size: 12.5px;
}
.fc-plan-badge--admin {
	color: var(--fc-amber);
	font-weight: 600;
	font-family: var(--fc-font-title);
	font-size: 13px;
	letter-spacing: 0.3px;
	background: rgba(245,158,11,0.08);
	border-color: rgba(245,158,11,0.25);
}
.fc-plan-badge__name {
	color: var(--fc-green);
	font-weight: 600;
	font-family: var(--fc-font-title);
	font-size: 13px;
}
.fc-plan-badge__remaining {
	color: var(--fc-text-muted);
	font-size: 11.5px;
}
.fc-sidebar__disclaimer {
	font-size: 10.5px;
	color: var(--fc-text-dim);
	text-align: center;
	margin-top: 6px;
}

/* Mobile overlay */
.fc-sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 150;
}

/* ============================================================
   MAIN PANEL
   ============================================================ */
.fc-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
}

/* Mobile top bar (hidden on desktop) */
.fc-topbar {
	display: none;
	align-items: center;
	padding: 0 12px;
	height: 54px;
	background: var(--fc-surface);
	border-bottom: 1px solid var(--fc-border);
	flex-shrink: 0;
	z-index: 100;
}
.fc-topbar__menu {
	background: none;
	border: none;
	color: var(--fc-text-muted);
	cursor: pointer;
	padding: 6px;
	border-radius: var(--fc-radius-sm);
}
.fc-topbar__menu:hover { background: var(--fc-elevated); color: var(--fc-text); }
.fc-topbar__title {
	font-family: var(--fc-font-title);
	font-size: 17px;
	font-weight: 700;
	color: var(--fc-text);
	margin-left: 10px;
}
.fc-topbar__spacer { flex: 1; }

/* ── Views ── */
.fc-view {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}
.fc-view--hidden { display: none !important; }

/* ── Welcome screen ── */
.fc-welcome {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
	text-align: center;
}
.fc-welcome__icon { font-size: 52px; margin-bottom: 16px; }
.fc-welcome__title {
	font-family: var(--fc-font-title);
	font-size: 36px;
	font-weight: 700;
	color: var(--fc-text);
	letter-spacing: 1px;
	margin-bottom: 10px;
}
.fc-welcome__subtitle {
	font-size: 15px;
	color: var(--fc-text-muted);
	max-width: 420px;
	line-height: 1.65;
	margin-bottom: 28px;
}
.fc-welcome__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	max-width: 540px;
}
.fc-suggestion {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: 20px;
	color: var(--fc-text-muted);
	font-family: var(--fc-font-body);
	font-size: 13.5px;
	padding: 8px 16px;
	cursor: pointer;
	transition: background var(--fc-transition), color var(--fc-transition), border-color var(--fc-transition);
}
.fc-suggestion:hover {
	background: var(--fc-border);
	color: var(--fc-text);
	border-color: var(--fc-green);
}

/* ── Messages panel ── */
.fc-messages {
	flex: 1;
	overflow-y: auto;
	padding: 20px 20px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--fc-border) transparent;
}
.fc-messages::-webkit-scrollbar { width: 5px; }
.fc-messages::-webkit-scrollbar-track { background: transparent; }
.fc-messages::-webkit-scrollbar-thumb { background: var(--fc-border); border-radius: 3px; }

/* Welcome hidden once messages exist */
.fc-messages:not(:empty) ~ .fc-welcome,
.fc-welcome.fc-welcome--hidden { display: none; }

/* Individual messages */
.fc-msg {
	display: flex;
	flex-direction: column;
	max-width: 820px;
	width: 100%;
}
.fc-msg--user {
	align-self: flex-end;
	align-items: flex-end;
}
.fc-msg--assistant {
	align-self: flex-start;
	align-items: flex-start;
}

.fc-msg__bubble {
	padding: 12px 16px;
	border-radius: var(--fc-radius);
	font-size: 14.5px;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-word;
}
.fc-msg--user .fc-msg__bubble {
	background: var(--fc-green);
	color: #fff;
	border-bottom-right-radius: 3px;
	max-width: 70%;
}
.fc-msg--assistant .fc-msg__bubble {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	color: var(--fc-text);
	border-bottom-left-radius: 3px;
	max-width: 90%;
}
.fc-msg__time {
	font-size: 11px;
	color: var(--fc-text-dim);
	margin-top: 4px;
	padding: 0 4px;
}

/* Typing indicator */
.fc-typing {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 14px 16px;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	border-bottom-left-radius: 3px;
	width: fit-content;
}
.fc-typing span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fc-text-dim);
	animation: fc-bounce 1.2s infinite;
}
.fc-typing span:nth-child(2) { animation-delay: 0.2s; }
.fc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes fc-bounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-5px); }
}

/* ── Input area ── */
.fc-input-wrapper {
	flex-shrink: 0;
	padding: 14px 20px 12px;
	background: var(--fc-bg);
	border-top: 1px solid var(--fc-border);
}
.fc-input-box {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 10px 10px 10px 16px;
	transition: border-color var(--fc-transition);
}
.fc-input-box:focus-within {
	border-color: var(--fc-green);
}
.fc-input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--fc-text);
	font-family: var(--fc-font-body);
	font-size: 15px;
	line-height: 1.5;
	resize: none;
	max-height: 140px;
	overflow-y: auto;
}
.fc-input::placeholder { color: var(--fc-text-dim); }
.fc-input:disabled { opacity: 0.4; cursor: not-allowed; }

.fc-input-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.fc-input-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: background var(--fc-transition), opacity var(--fc-transition);
	font-size: 16px;
}
.fc-input-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.fc-repeat-btn {
	background: var(--fc-surface);
	color: var(--fc-text-muted);
}
.fc-repeat-btn:not(:disabled):hover {
	background: var(--fc-border);
	color: var(--fc-text);
}

.fc-send-btn {
	background: var(--fc-green);
	color: #fff;
}
.fc-send-btn:not(:disabled):hover { background: var(--fc-green-dim); }
.fc-send-btn:not(:disabled):active { transform: scale(0.95); }

.fc-input-hint {
	font-size: 11px;
	color: var(--fc-text-dim);
	text-align: center;
	margin-top: 6px;
}

/* ── Live Scores view ── */
.fc-view--scores {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}
.fc-view-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--fc-border);
	flex-shrink: 0;
}
.fc-view-header h2 {
	font-family: var(--fc-font-title);
	font-size: 20px;
	font-weight: 600;
	color: var(--fc-text);
	flex: 1;
}
.fc-back-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text-muted);
	font-family: var(--fc-font-body);
	font-size: 13px;
	padding: 6px 10px;
	cursor: pointer;
	transition: background var(--fc-transition), color var(--fc-transition);
}
.fc-back-btn:hover { background: var(--fc-elevated); color: var(--fc-text); }

.fc-live-badge {
	background: var(--fc-red);
	color: #fff;
	font-family: var(--fc-font-title);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 3px 8px;
	border-radius: 4px;
}

.fc-scores-list {
	flex: 1;
	padding: 16px 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fc-scores-loading {
	color: var(--fc-text-muted);
	text-align: center;
	padding: 32px;
}

/* Score card */
.fc-score-card {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fc-score-card__league {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--fc-text-dim);
}
.fc-score-card__teams {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.fc-score-card__team {
	flex: 1;
	font-family: var(--fc-font-title);
	font-size: 15px;
	font-weight: 500;
	color: var(--fc-text);
}
.fc-score-card__team--away { text-align: right; }
.fc-score-card__score {
	font-family: var(--fc-font-title);
	font-size: 22px;
	font-weight: 700;
	color: var(--fc-green);
	text-align: center;
	min-width: 60px;
}
.fc-score-card__status {
	font-size: 12px;
	color: var(--fc-amber);
	font-weight: 600;
}

/* ============================================================
   PLAYER STATS CARD
   ============================================================ */
.fc-player-card {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 16px;
	margin-top: 12px;
	max-width: 480px;
}
.fc-player-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.fc-player-card__photo {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--fc-border);
}
.fc-player-card__info h3 {
	font-family: var(--fc-font-title);
	font-size: 17px;
	font-weight: 600;
	color: var(--fc-text);
}
.fc-player-card__info span {
	font-size: 12.5px;
	color: var(--fc-text-muted);
}
.fc-player-card__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	text-align: center;
}
.fc-player-stat {
	background: var(--fc-surface);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	padding: 8px 4px;
}
.fc-player-stat__val {
	display: block;
	font-family: var(--fc-font-title);
	font-size: 20px;
	font-weight: 700;
	color: var(--fc-green);
}
.fc-player-stat__lbl {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--fc-text-dim);
	margin-top: 2px;
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.fc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: var(--fc-radius-sm);
	border: none;
	font-family: var(--fc-font-body);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background var(--fc-transition), opacity var(--fc-transition);
}
.fc-btn--login {
	width: 100%;
	background: var(--fc-green);
	color: #fff;
	margin-bottom: 6px;
}
.fc-btn--login:hover { background: var(--fc-green-dim); }

/* ============================================================
   MOBILE RESPONSIVE  (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
	.fc-topbar { display: flex; }

	.fc-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		height: 100%;
		transform: translateX(-100%);
	}
	.fc-sidebar.fc-sidebar--open {
		transform: translateX(0);
		box-shadow: 8px 0 32px rgba(0,0,0,0.5);
	}

	.fc-sidebar-overlay.fc-sidebar-overlay--visible {
		display: block;
	}

	.fc-messages { padding: 14px 12px 0; }
	.fc-input-wrapper { padding: 10px 12px 8px; }
	.fc-input-hint { display: none; }

	.fc-welcome__title { font-size: 28px; }
	.fc-welcome__suggestions { gap: 8px; }
	.fc-suggestion { font-size: 13px; padding: 7px 13px; }

	.fc-msg--user .fc-msg__bubble { max-width: 85%; }
	.fc-msg--assistant .fc-msg__bubble { max-width: 95%; }

	.fc-player-card__stats { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SUBSCRIPTION PLANS (for [footchat_subscribe] shortcode)
   ============================================================ */
.fc-subscribe {
	max-width: 900px;
	margin: 0 auto;
	padding: 32px 20px;
	color: var(--fc-text);
	font-family: var(--fc-font-body);
}
.fc-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}
.fc-plan {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 24px 20px;
	position: relative;
	transition: border-color var(--fc-transition);
}
.fc-plan--featured {
	border-color: var(--fc-green);
	box-shadow: 0 0 20px rgba(16,185,129,0.15);
}
.fc-plan__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--fc-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
}
.fc-plan h3 {
	font-family: var(--fc-font-title);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}
.fc-plan__price { margin-bottom: 16px; }
.fc-plan__amount {
	font-family: var(--fc-font-title);
	font-size: 28px;
	font-weight: 700;
	color: var(--fc-green);
}
.fc-plan__period { font-size: 13px; color: var(--fc-text-muted); }
.fc-plan__features {
	list-style: none;
	margin-bottom: 16px;
	font-size: 13.5px;
	color: var(--fc-text-muted);
	line-height: 1.8;
}
.fc-plan__actions { display: flex; flex-direction: column; gap: 8px; }
.fc-btn--subscribe {
	width: 100%;
	background: var(--fc-green);
	color: #fff;
}
.fc-btn--subscribe:hover { background: var(--fc-green-dim); }
.fc-btn--secondary {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	color: var(--fc-text-muted);
}
.fc-btn--secondary:hover { background: var(--fc-border); color: var(--fc-text); }

/* ============================================================
   PREDICTIONS SHORTCODE
   ============================================================ */
.fc-predictions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px 0;
}
.fc-pred-card {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-left: 4px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 14px 16px;
	min-width: 240px;
	flex: 1;
}
.fc-pred-card--bt1 { border-left-color: var(--fc-green); }
.fc-pred-card--bt2 { border-left-color: var(--fc-amber); }
.fc-pred-card--bt3 { border-left-color: var(--fc-red); }
.fc-pred-card__cat {
	font-family: var(--fc-font-title);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fc-text-dim);
}
.fc-pred-card__match {
	font-family: var(--fc-font-title);
	font-size: 15px;
	font-weight: 600;
	color: var(--fc-text);
	margin: 4px 0;
}
.fc-pred-card__tip {
	font-size: 14px;
	color: var(--fc-text-muted);
	margin-bottom: 4px;
}
.fc-pred-card__reason {
	font-size: 12.5px;
	color: var(--fc-text-dim);
}

/* ============================================================
   v1.3 — RECENT CHATS
   ============================================================ */
.fc-recent-loading {
	font-size: 12px;
	color: var(--fc-text-dim);
	padding: 4px 8px;
	display: block;
}
.fc-recent-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 10px;
	background: none;
	border: none;
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text-muted);
	font-family: var(--fc-font-body);
	font-size: 12.5px;
	cursor: pointer;
	transition: background var(--fc-transition), color var(--fc-transition);
	text-align: left;
	overflow: hidden;
}
.fc-recent-item:hover { background: var(--fc-elevated); color: var(--fc-text); }
.fc-recent-item__icon { font-size: 12px; flex-shrink: 0; }
.fc-recent-item__text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fc-recent-item__time {
	font-size: 10px;
	color: var(--fc-text-dim);
	flex-shrink: 0;
}

/* ============================================================
   v1.3 — BT PREDICTION BUBBLE CARDS (inline in chat)
   ============================================================ */
.fc-bt-card {
	border-radius: var(--fc-radius);
	border: 1px solid var(--fc-border);
	border-left-width: 4px;
	padding: 12px 14px;
	margin: 6px 0;
	max-width: 520px;
}
.fc-bt-card--bt1 { border-left-color: var(--fc-green); background: rgba(16,185,129,0.06); }
.fc-bt-card--bt2 { border-left-color: var(--fc-amber); background: rgba(245,158,11,0.06); }
.fc-bt-card--bt3 { border-left-color: var(--fc-red);   background: rgba(239,68,68,0.06); }

.fc-bt-card__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}
.fc-bt-badge {
	font-family: var(--fc-font-title);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 2px 7px;
	border-radius: 4px;
}
.fc-bt-card--bt1 .fc-bt-badge { background: var(--fc-green); color: #fff; }
.fc-bt-card--bt2 .fc-bt-badge { background: var(--fc-amber); color: #000; }
.fc-bt-card--bt3 .fc-bt-badge { background: var(--fc-red);   color: #fff; }

.fc-bt-card__match {
	font-family: var(--fc-font-title);
	font-size: 13px;
	font-weight: 600;
	color: var(--fc-text);
}
.fc-bt-card__kickoff {
	font-size: 11px;
	color: var(--fc-text-dim);
	margin-bottom: 6px;
}
.fc-bt-card__tip {
	font-family: var(--fc-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--fc-text);
	margin-bottom: 4px;
}
.fc-bt-card--bt1 .fc-bt-card__tip { color: var(--fc-green); }
.fc-bt-card--bt2 .fc-bt-card__tip { color: var(--fc-amber); }
.fc-bt-card--bt3 .fc-bt-card__tip { color: #ff7575; }

.fc-bt-card__odds {
	font-size: 13px;
	color: var(--fc-text-muted);
	margin-bottom: 4px;
}
.fc-bt-card__odds strong { color: var(--fc-amber); }
.fc-bt-card__reasoning {
	font-size: 12.5px;
	color: var(--fc-text-dim);
	line-height: 1.55;
}

/* Non-BT paragraph lines inside assistant bubble */
.fc-msg-intro {
	font-size: 14px;
	color: var(--fc-text-muted);
	margin-bottom: 8px;
	line-height: 1.6;
}

/* ============================================================
   v1.3 — LIVE SCORES ACCORDION BY COUNTRY
   ============================================================ */
.fc-scores-body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 16px;
}
.fc-country-group { margin-bottom: 8px; }
.fc-country-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 12px;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	cursor: pointer;
	font-family: var(--fc-font-title);
	font-size: 14px;
	font-weight: 600;
	color: var(--fc-text);
	transition: background var(--fc-transition);
	text-align: left;
}
.fc-country-header:hover { background: var(--fc-border); }
.fc-country-header__left { display: flex; align-items: center; gap: 8px; }
.fc-country-header__count {
	font-size: 11px;
	background: var(--fc-green);
	color: #fff;
	padding: 1px 6px;
	border-radius: 20px;
	font-family: var(--fc-font-body);
}
.fc-country-header__caret {
	transition: transform var(--fc-transition);
	color: var(--fc-text-dim);
}
.fc-country-group.fc-country-group--open .fc-country-header__caret {
	transform: rotate(180deg);
}
.fc-country-matches {
	display: none;
	padding: 6px 0 6px 4px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fc-country-group:not(.fc-country-group--open) .fc-country-matches {
	display: none;
}
.fc-country-group--open .fc-country-matches { display: flex; }

/* ============================================================
   v1.3 — PREDICTION RESULTS TRACKER
   ============================================================ */
.fc-view--results {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.fc-results-summary {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 20px;
	background: var(--fc-surface);
	border-bottom: 1px solid var(--fc-border);
	flex-shrink: 0;
}
.fc-accuracy-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: 10px 20px;
	min-width: 80px;
}
.fc-accuracy-val {
	font-family: var(--fc-font-title);
	font-size: 28px;
	font-weight: 700;
	color: var(--fc-green);
}
.fc-accuracy-lbl {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--fc-text-dim);
}
.fc-accuracy-stats {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fc-accuracy-stat {
	font-size: 13px;
	color: var(--fc-text-muted);
}
.fc-accuracy-stat--confirmed { color: var(--fc-green); }
.fc-accuracy-stat--missed    { color: var(--fc-red); }
.fc-accuracy-stat--pending   { color: var(--fc-amber); }

.fc-results-list {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fc-result-card {
	background: var(--fc-elevated);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	border-left: 4px solid var(--fc-border);
	padding: 14px 16px;
}
.fc-result-card--confirmed { border-left-color: var(--fc-green); }
.fc-result-card--missed    { border-left-color: var(--fc-red); }
.fc-result-card--pending   { border-left-color: var(--fc-amber); }

.fc-result-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.fc-result-card__match {
	font-family: var(--fc-font-title);
	font-size: 15px;
	font-weight: 600;
	color: var(--fc-text);
}
.fc-result-card__league {
	font-size: 11px;
	color: var(--fc-text-dim);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-top: 2px;
}
.fc-result-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}
.fc-result-badge--confirmed { background: rgba(16,185,129,0.15); color: var(--fc-green); }
.fc-result-badge--missed    { background: rgba(239,68,68,0.15);  color: var(--fc-red); }
.fc-result-badge--pending   { background: rgba(245,158,11,0.1);  color: var(--fc-amber); }

.fc-result-card__body {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
}
.fc-result-card__tip {
	flex: 1;
	color: var(--fc-text-muted);
}
.fc-result-card__tip strong { color: var(--fc-text); }
.fc-result-card__score {
	font-family: var(--fc-font-title);
	font-size: 16px;
	font-weight: 700;
	color: var(--fc-green);
}
.fc-result-card__actual {
	font-size: 12px;
	color: var(--fc-text-dim);
	margin-top: 6px;
}
.fc-result-card__date {
	font-size: 11px;
	color: var(--fc-text-dim);
	margin-top: 4px;
}

@media (max-width: 768px) {
	.fc-results-summary { flex-direction: column; align-items: flex-start; gap: 12px; }
	.fc-accuracy-stats { flex-direction: row; flex-wrap: wrap; gap: 10px; }
	.fc-scores-body { padding: 8px 10px; }
}
