/* Individual article embeds. Player profile templates retain their own styles. */
.gs-player-embed.gs-shortcode-panel {
	display: block; min-width: 0; max-width: 100%; overflow: hidden;
	margin: 22px 0; padding: 0; border: 1px solid #e2e5ed; border-radius: 10px;
	background: #fff; color: #071622; font-family: inherit; font-size: 14px;
	font-weight: 500; line-height: 1.4; text-align: left;
	box-shadow: 0 8px 24px rgba(9,18,38,.04);
}
.gs-player-embed .gs-player-embed__body { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.article-content .gs-player-embed .anwp-b-wrap,
.article-layout article .gs-player-embed .anwp-b-wrap,
.gs-player-embed .anwp-b-wrap {
	display: block; max-width: none; overflow: visible; margin: 0; padding: 0;
	border: 0; border-radius: 0; background: #fff; color: inherit; box-shadow: none; font: inherit;
}
.gs-player-embed .gs-player-embed__head {
	display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px;
	border: 0; border-bottom: 1px solid #e2e5ed; background: #fbfcfe;
}
.gs-player-embed .gs-player-embed__photo { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; border-radius: 8px; object-fit: contain; }
.gs-player-embed .gs-player-embed__identity { display: grid; flex: 1; min-width: 0; gap: 3px; }
.gs-player-embed .gs-player-embed__identity strong { color: #1e284a; font-size: 21px; font-weight: 850; line-height: 1.15; }
.gs-player-embed .gs-player-embed__eyebrow { color: #bc450b; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.gs-player-embed .gs-player-embed__position { color: #667085; font-size: 12px; }
.gs-player-embed .gs-player-embed__profile {
	flex: 0 0 auto; padding: 8px 11px; border: 1px solid #d9deea; border-radius: 6px;
	color: #1e284a; font-size: 11px; font-weight: 800; text-decoration: none;
}
.gs-player-embed .gs-player-embed__profile:hover { border-color: #ff6418; color: #bc450b; }
.gs-player-embed .gs-player-embed__profile span { color: #ff6418; }
.gs-player-embed .player-stats { margin: 0; padding: 0; border: 0; }
.gs-player-embed .gs-player-stat-group { margin: 0; padding: 0; border: 0; border-top: 1px solid #e2e5ed; }
.gs-player-embed .gs-player-stat-group:first-child { border-top: 0; }
.gs-player-embed .gs-player-stat-group__title {
	margin: 0; padding: 12px 16px; border: 0; background: #1e284a;
	color: #fff; font: inherit; font-size: 12px; font-weight: 850; line-height: 1.4;
}
.gs-player-embed .gs-player-stat-group__row { padding: 14px 16px; border-top: 1px solid #e9ecf2; }
.gs-player-embed .gs-player-stat-group__club { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #1e284a; font-size: 11px; font-weight: 850; }
.gs-player-embed .gs-player-stat-group__club img { display: block; width: 24px; height: 24px; margin: 0; object-fit: contain; }
.gs-player-embed .gs-player-stat-group__stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; }
.gs-player-embed .gs-player-stat-group__stat { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 65px; gap: 5px; padding: 10px 6px; border: 1px solid #edf0f5; border-radius: 6px; background: #fbfcfe; text-align: center; }
.gs-player-embed .gs-player-stat-group__stat dt { margin: 0; padding: 0; color: #596477; font-size: 10px; font-weight: 700; line-height: 1.25; }
.gs-player-embed .gs-player-stat-group__stat dd { margin: 0; padding: 0; color: #1e284a; font-size: 21px; font-weight: 850; line-height: 1; }
.gs-player-embed .gs-player-stat-group__stat[data-stat="played"],
.gs-player-embed .gs-player-stat-group__stat[data-stat="minutes"],
.gs-player-embed .gs-player-stat-group__stat[data-stat="goals"],
.gs-player-embed .gs-player-stat-group__stat[data-stat="clean_sheets"] { border-color: #ffe1d1; background: #fff7f2; }
.gs-player-embed .gs-player-stat-group__stat[data-stat="played"] dd,
.gs-player-embed .gs-player-stat-group__stat[data-stat="minutes"] dd,
.gs-player-embed .gs-player-stat-group__stat[data-stat="goals"] dd,
.gs-player-embed .gs-player-stat-group__stat[data-stat="clean_sheets"] dd { color: #bc450b; }
.gs-player-embed .gs-player-stat-group.is-total .gs-player-stat-group__title { background: #fff0e7; color: #943708; }
.gs-player-embed .gs-player-stat-group.is-total .gs-player-stat-group__stat { background: #fff; }
.gs-player-embed .gs-player-stat-group__row.is-subtotal { background: #f7f8fc; }
/* Native fallback for unknown columns or servers without PHP DOM. */
.gs-player-embed .player-stats__wrapper { display: grid; grid-template-columns: repeat(var(--player-stats-cols),minmax(60px,1fr)); min-width: calc(var(--player-stats-cols) * 60px); overflow: visible; border: 0; font: inherit; }
.gs-player-embed .player-stats__wrapper > .anwp-grid-table__th,
.gs-player-embed .player-stats__wrapper > .anwp-grid-table__td { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 5px; border: 0; border-bottom: 1px solid #e9ecf2; background: #fff; color: #1e284a; font-size: 14px; }
.gs-player-embed .player-stats__wrapper > .anwp-grid-table__th { background: #1e284a; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.gs-player-embed .player-stats__wrapper > .player-stats__competition,
.gs-player-embed .player-stats__wrapper > .player-stats__competition_totals { grid-column: 1 / -1; justify-content: flex-start; padding: 10px 16px !important; background: #f5f7fb; color: #1e284a; font-size: 12px; font-weight: 800; }
.gs-player-embed .player-stats__competition span { max-width: 100%; }
.gs-player-embed .player-stats__wrapper > .player-stats__totals { background: #fff3ed; color: #943708; font-weight: 800; }
.gs-player-embed .player-stats__club img { width: 28px; height: 28px; margin: 0; object-fit: contain; }
/* Historical Player Card options and Premium stat panels keep their content. */
.gs-player-embed .player-block { border: 0; }
.gs-player-embed .player-block__header { display: flex; gap: 16px; padding: 18px; background: #f8f9fc; }
.gs-player-embed .player-block__header > img { width: 68px; height: 76px; margin: 0; object-fit: contain; }
.gs-player-embed .player-block__name { padding: 0; color: #1e284a; font-size: 21px; font-weight: 850; }
.gs-player-embed .player-block__extra { padding: 0; color: #667085; font-size: 12px; }
.gs-player-embed .player-block__option { display: flex; gap: 12px; padding: 12px 18px; border-top: 1px solid #e9ecf2; }
.gs-player-embed .player-block__option-label { flex: 1; color: #667085; font-size: 13px; }
.gs-player-embed .player-block__option-value { padding: 0; border: 0; color: #1e284a; font-size: 14px; font-weight: 800; }
.gs-player-embed .player-block__profile-link { padding: 12px 18px; border-top: 1px solid #e9ecf2; }
.gs-player-embed .player-block__profile-link-btn { position: relative; padding: 9px; border: 1px solid #e9ecf2; border-radius: 6px; color: #1e284a; text-align: center; }
.gs-player-embed .player-block__profile-link-btn a { position: absolute; inset: 0; }
.gs-player-embed .player-stats-pro__wrapper { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 0; }
.gs-player-embed .player-stats-pro__item { padding: 18px 10px; border: 1px solid #e9ecf2; }
.gs-player-embed .player-stats-pro__value { color: #1e284a; font-size: 30px; font-weight: 850; }
.gs-player-embed .player-stats-pro__pg { color: #bc450b; font-size: 18px; }
.gs-player-embed .player-stats-pro__pg-text { color: #667085; font-size: 11px; }
.gs-player-embed .player-stats-pro__notes { padding: 12px 16px; font-size: 12px; }
@media(max-width:600px) {
	.gs-player-embed.gs-shortcode-panel { margin: 18px 0; }
	.gs-player-embed .gs-player-embed__head { flex-wrap: wrap; gap: 10px; padding: 14px; }
	.gs-player-embed .gs-player-embed__identity strong { font-size: 18px; }
	.gs-player-embed .gs-player-embed__profile { padding: 6px 9px; font-size: 10px; }
	.gs-player-embed .gs-player-stat-group__stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
	.gs-player-embed .gs-player-stat-group__title { padding: 11px 14px; }
	.gs-player-embed .gs-player-stat-group__row { padding: 12px; }
	.gs-player-embed .gs-player-stat-group__stat { min-height: 60px; padding: 8px 4px; }
	.gs-player-embed .gs-player-stat-group__stat dd { font-size: 20px; }
}
