@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&display=swap');

/* Dynasty Engine Public Shortcode CSS */

.dynasty-rankings-widget {
	font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
	margin: 20px 0;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	overflow: hidden;
}

.dynasty-rankings-widget,
.dynasty-rankings-widget button,
.dynasty-rankings-widget input,
.dynasty-rankings-widget select,
.dynasty-rankings-widget table,
.dynasty-rankings-widget td,
.dynasty-rankings-widget th,
.dynasty-player-modal,
.dynasty-player-modal button,
.dynasty-player-modal input,
.dynasty-player-modal select,
.dynasty-player-modal table,
.dynasty-player-modal td,
.dynasty-player-modal th {
	font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
}

/* Tabs */
.dynasty-tabs-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #0f172a;
	padding: 12px;
}

.dynasty-tab {
	background: #1e293b;
	color: #94a3b8;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.dynasty-tab:hover {
	background: #334155;
	color: #ffffff;
}

.dynasty-tab.active {
	background: #2563eb;
	color: #ffffff;
}

/* Toolbar Search & Download */
.dynasty-widget-toolbar {
	padding: 12px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dynasty-format-select-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dynasty-format-label {
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dynasty-format-select {
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dynasty-format-select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.dynasty-search-input {
	width: 100%;
	max-width: 320px;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
}

.dynasty-download-csv-btn {
	background: #059669;
	color: #ffffff;
	border: none;
	padding: 8px 14px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background 0.2s ease, transform 0.1s ease;
}

.dynasty-download-csv-btn:hover {
	background: #047857;
	color: #ffffff;
}

.dynasty-download-csv-btn:active {
	transform: scale(0.98);
}

/* Table */
.dynasty-table-responsive {
	overflow-x: auto;
}

.dynasty-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.dynasty-table th {
	background: #f1f5f9;
	color: #475569;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	padding: 12px 16px;
	border-bottom: 2px solid #e2e8f0;
}

.dynasty-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14px;
	vertical-align: middle;
}

.dynasty-player-cell {
	display: flex;
	align-items: center;
}

.dynasty-player-name {
	font-weight: 600;
	color: #0f172a;
	font-size: 14px;
}

.dynasty-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	background: #e2e8f0;
}

.dynasty-pos-badge {
	display: inline-block;
	padding: 4px 8px;
	background: #e0f2fe;
	color: #0369a1;
	font-weight: 700;
	font-size: 11px;
	border-radius: 4px;
}

.dynasty-subbadge {
	display: inline-block;
	padding: 2px 6px;
	background: #f1f5f9;
	color: #64748b;
	font-size: 11px;
	border-radius: 4px;
}

.dynasty-tier-tag {
	display: inline-block;
	padding: 4px 8px;
	background: #fef3c7;
	color: #92400e;
	font-weight: 600;
	font-size: 11px;
	border-radius: 4px;
}

.dynasty-loading-cell, .dynasty-empty-cell, .dynasty-error-cell {
	text-align: center;
	padding: 30px;
	color: #64748b;
	font-style: italic;
}

/* Pagination Bar Styles */
.dynasty-pagination-wrapper {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	padding: 12px 16px;
}

.dynasty-pagination-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: #475569;
}

.dynasty-page-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dynasty-page-btn {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	padding: 6px 14px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.dynasty-page-btn:hover:not(:disabled) {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.dynasty-page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.dynasty-page-num {
	font-size: 13px;
	color: #475569;
}

.dynasty-per-page select {
	padding: 4px 8px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	font-size: 12px;
	background: #ffffff;
}

/* Trend Badges */
.dynasty-trend {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	margin-left: 4px;
}
.dynasty-trend.trend-up {
	background: #dcfce7;
	color: #15803d;
}
.dynasty-trend.trend-down {
	background: #fee2e2;
	color: #b91c1c;
}
.dynasty-trend.trend-even {
	background: #f1f5f9;
	color: #94a3b8;
}

/* Responsive Overall Rank / OVR Rank Header */
.rank-desktop {
	display: inline;
}
.rank-mobile {
	display: none;
}

@media (max-width: 640px) {
	.rank-desktop {
		display: none;
	}
	.rank-mobile {
		display: inline;
	}
}

/* ==========================================================================
   Clickable Table Rows
   ========================================================================== */
.dynasty-table .dynasty-row {
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.dynasty-table .dynasty-row:hover {
	background-color: #f1f5f9 !important;
}
.dynasty-table .dynasty-row:hover .dynasty-player-name {
	color: #0f172a;
	text-decoration: none;
}

/* ==========================================================================
   Player Profile Modal & Card System (Dark-Mode Glassmorphism)
   ========================================================================== */
:root {
	--team-primary: #4f2683;
	--team-secondary: #ffc62f;
	--team-rgb: 79, 38, 131;
}

.dynasty-modal-backdrop {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(5, 5, 10, 0.85) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	z-index: 9999999 !important;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dynasty-modal-backdrop.is-active {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.dynasty-player-modal {
	position: relative;
	width: 100%;
	max-width: 1140px;
	max-height: 94vh;
	background: #090712;
	background: radial-gradient(circle at 50% -15%, rgba(var(--team-rgb), 0.45) 0%, rgba(13, 11, 24, 0.96) 65%), #090712;
	border: 1.5px solid rgba(var(--team-rgb), 0.6);
	box-shadow: 0 25px 75px rgba(0, 0, 0, 0.92), 0 0 55px rgba(var(--team-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	border-radius: 18px;
	color: #f1f5f9;
	font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	overflow-y: auto;
	box-sizing: border-box;
	transform: scale(0.96);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynasty-modal-backdrop.is-active .dynasty-player-modal {
	transform: scale(1);
}

/* Modal Close & Nav Controls (Elevated with ample top margin) */
.dynasty-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #cbd5e1;
	font-size: 18px;
	line-height: 1;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	z-index: 50;
}
.dynasty-modal-close:hover {
	background: rgba(239, 68, 68, 0.85);
	color: #ffffff;
	border-color: #ef4444;
}

.dynasty-modal-nav {
	position: absolute;
	top: 14px;
	right: 52px;
	display: flex;
	gap: 6px;
	z-index: 50;
}
.dynasty-modal-nav-btn {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}
.dynasty-modal-nav-btn:hover {
	background: rgba(var(--team-rgb), 0.85);
	color: #ffffff;
	border-color: var(--team-primary);
}

/* Modal Header Banner */
.dpm-header {
	padding: 22px 28px 16px;
	display: flex;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid rgba(var(--team-rgb), 0.45);
	position: relative;
	background: linear-gradient(180deg, rgba(var(--team-rgb), 0.32) 0%, transparent 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Rectangular Headshot Avatar */
.dpm-avatar-wrap {
	width: 115px;
	height: 136px;
	min-width: 115px;
	border-radius: 12px;
	background: radial-gradient(circle, rgba(var(--team-rgb), 0.55) 0%, #17142b 90%);
	border: 2px solid rgba(var(--team-rgb), 0.7);
	box-shadow: 0 0 20px rgba(var(--team-rgb), 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}
.dpm-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
.dpm-avatar-placeholder {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.dpm-header-info {
	flex: 1;
	min-width: 0;
}
.dpm-name {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 5px;
	color: #ffffff;
	letter-spacing: -0.02em;
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}
.dpm-first-name {
	color: #ffffff;
	font-size: 22px;
}
.dpm-last-name {
	color: var(--team-secondary, #c084fc);
	font-size: 28px;
	text-shadow: 0 0 16px rgba(var(--team-rgb), 0.45);
}

.dpm-vitals-line {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #cbd5e1;
	margin-bottom: 4px;
	flex-wrap: wrap;
}
.dpm-pos-pill {
	background: var(--team-primary);
	color: #ffffff;
	font-weight: 800;
	font-size: 11.5px;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.dpm-dot {
	color: rgba(255, 255, 255, 0.35);
}

.dpm-meta-line {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: #cbd5e1;
	margin-bottom: 3px;
	white-space: nowrap;
}

/* Header Score Ribbon */
.dpm-score-ribbon {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	margin-top: 4px;
}
.dpm-stat-pill {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9px;
	padding: 8px 14px;
	text-align: center;
	min-width: 72px;
}
.dpm-stat-pill .lbl {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	letter-spacing: 0.06em;
	margin-bottom: 2px;
}
.dpm-stat-pill .val {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
}
.dpm-stat-pill.dpm-dscore-pill {
	background: linear-gradient(135deg, rgba(var(--team-rgb), 0.45) 0%, rgba(13, 11, 24, 0.85) 100%);
	border-color: var(--team-primary);
	box-shadow: 0 0 16px rgba(var(--team-rgb), 0.35);
}
.dpm-stat-pill.dpm-dscore-pill .val {
	color: #38bdf8;
	text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Modal Body Layout Grid */
.dpm-body {
	padding: 16px 24px 20px;
	display: grid;
	grid-template-columns: 330px 1fr;
	gap: 16px;
	box-sizing: border-box;
}

/* Left Column: Last Game & Season Stats */
.dpm-left-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Right Column: 2-Column Grid (Left: Stacked Trend + Outlook; Right: Tall Trade Targets) */
.dpm-right-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: stretch;
}

.dpm-right-stacked-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Glassmorphism Card Style with Pronounced Colors */
.dpm-card {
	background: rgba(16, 13, 28, 0.82);
	border: 1px solid rgba(var(--team-rgb), 0.35);
	border-radius: 12px;
	padding: 14px 16px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(var(--team-rgb), 0.15);
}
.dpm-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(var(--team-rgb), 0.95), transparent);
	box-shadow: 0 0 8px rgba(var(--team-rgb), 0.8);
}

.dpm-card-title {
	font-size: 13.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #e2e8f0;
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Last Game 4-Stat Box Grid */
.dpm-last-game-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: 4px;
}
.dpm-last-game-stat {
	background: rgba(var(--team-rgb), 0.12);
	border: 1px solid rgba(var(--team-rgb), 0.35);
	border-radius: 7px;
	padding: 8px 3px;
	text-align: center;
	box-shadow: 0 0 10px rgba(var(--team-rgb), 0.12);
}
.dpm-last-game-stat.dpm-fpts-stat {
	background: linear-gradient(135deg, rgba(var(--team-rgb), 0.38) 0%, rgba(13, 11, 24, 0.8) 100%);
	border-color: var(--team-primary);
	box-shadow: 0 0 12px rgba(var(--team-rgb), 0.25);
}
.dpm-last-game-stat .lbl {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}
.dpm-last-game-stat .val {
	display: block;
	font-size: 19px;
	font-weight: 800;
	color: #ffffff;
}
.dpm-last-game-stat.dpm-fpts-stat .val {
	color: #38bdf8;
}

/* Multi-Year Seasonal Table */
.dpm-season-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	color: #cbd5e1;
	margin-top: 2px;
}
.dpm-season-table th {
	padding: 6px 8px;
	border-bottom: 1px solid rgba(var(--team-rgb), 0.35);
	color: #94a3b8;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
}
.dpm-season-table th:first-child {
	text-align: left;
}
.dpm-season-table td {
	padding: 7px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.dpm-season-table td:first-child {
	text-align: left;
}
.dpm-season-table tr:hover td {
	background: rgba(255, 255, 255, 0.04);
}
.dpm-season-table .val-bold {
	font-weight: 700;
	color: #ffffff;
}
.dpm-season-table .val-highlight {
	font-weight: 700;
	color: #38bdf8;
}
/* Modal Trend Format Pills */
.dpm-format-pills {
	display: inline-flex;
	gap: 3px;
	background: rgba(15, 23, 42, 0.65);
	padding: 2px 4px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.dpm-format-pill {
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	border: none;
	background: transparent;
	color: #94a3b8;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1.4;
}
.dpm-format-pill:hover {
	color: #ffffff;
}
.dpm-format-pill.active {
	background: var(--team-primary, #2563eb);
	color: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Dynasty Value Trend Chart Wrap */
.dpm-chart-wrap {
	width: 100%;
	min-height: 145px;
	height: 145px;
	position: relative;
}
.dpm-svg-chart {
	width: 100%;
	height: 145px;
	overflow: visible;
}

/* Trade Value Targets & Action Button (Tall Card) */
.dpm-trade-card {
	background: linear-gradient(135deg, rgba(var(--team-rgb), 0.22) 0%, rgba(22, 19, 38, 0.75) 100%);
	border: 1px solid rgba(var(--team-rgb), 0.4);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.dpm-equiv-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 12px;
	flex: 1;
}
.dpm-equiv-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 13px;
}
.dpm-equiv-name {
	font-weight: 600;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 6px;
}
.dpm-equiv-sub {
	font-size: 11.5px;
	color: #94a3b8;
}
.dpm-equiv-score-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}
.dpm-equiv-score {
	font-weight: 700;
	color: #38bdf8;
	font-size: 13px;
}

.dpm-target-section-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	margin: 5px 0 2px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.dpm-target-section-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.dpm-diff-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 4px;
}
.dpm-diff-badge.diff-above {
	background: rgba(16, 185, 129, 0.15);
	color: #34d399;
	border: 1px solid rgba(16, 185, 129, 0.35);
}
.dpm-diff-badge.diff-below {
	background: rgba(245, 158, 11, 0.12);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.3);
}
.dpm-diff-badge.diff-even {
	background: rgba(56, 189, 248, 0.12);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.dpm-actions-row {
	display: flex;
	gap: 8px;
	margin-top: auto;
}
.dpm-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 7px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	box-sizing: border-box;
}
.dpm-btn-primary {
	background: linear-gradient(135deg, var(--team-primary) 0%, #3b82f6 100%);
	color: #ffffff !important;
	border: none;
	box-shadow: 0 3px 12px rgba(var(--team-rgb), 0.45);
}
.dpm-btn-primary:hover {
	filter: brightness(1.15);
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(var(--team-rgb), 0.65);
}

/* Dynasty Outlook */
.dpm-outlook-header-tag {
	font-size: 14.5px;
	font-weight: 800;
	color: var(--team-secondary, #c084fc);
	margin-bottom: 5px;
	text-shadow: 0 0 12px rgba(var(--team-rgb), 0.35);
}

.dpm-outlook-text {
	font-size: 13.5px;
	line-height: 1.5;
	color: #cbd5e1;
	margin: 0 0 10px;
}

.dpm-pillar-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.dpm-pillar-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 6px 10px;
}
.dpm-pillar-head {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	margin-bottom: 2px;
}
.dpm-pillar-val {
	font-size: 13.5px;
	font-weight: 600;
	color: #ffffff;
}

/* Standalone Shortcode Embed Mode */
.dynasty-player-standalone-wrap {
	width: 100%;
	max-width: 1140px;
	margin: 20px auto;
	box-sizing: border-box;
}

.dynasty-player-standalone-card {
	position: relative !important;
	transform: none !important;
	max-height: none !important;
	max-width: 100% !important;
	margin: 0 auto;
	display: block !important;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(var(--team-rgb), 0.3);
	border-radius: 18px;
	overflow: hidden;
	box-sizing: border-box;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
	.dpm-body {
		grid-template-columns: 1fr;
		padding: 16px 20px 24px;
	}
	.dpm-right-col {
		grid-template-columns: 1fr;
	}
	.dpm-trade-card {
		height: auto;
	}
	.dpm-header {
		flex-direction: column;
		text-align: center;
		padding: 36px 20px 16px;
	}
	.dpm-name {
		justify-content: center;
	}
	.dpm-vitals-line,
	.dpm-meta-line {
		justify-content: center;
	}
	.dpm-score-ribbon {
		margin-top: 10px;
		justify-content: center;
	}
	.dynasty-modal-nav {
		display: none;
	}
}

/* Positional Tier Tags & Badges */
.dynasty-tier-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.tier-1 .dynasty-tier-tag {
	background: rgba(234, 179, 8, 0.18);
	color: #facc15;
	border-color: rgba(234, 179, 8, 0.4);
}
.tier-2 .dynasty-tier-tag {
	background: rgba(168, 85, 247, 0.18);
	color: #c084fc;
	border-color: rgba(168, 85, 247, 0.4);
}
.tier-3 .dynasty-tier-tag {
	background: rgba(59, 130, 246, 0.18);
	color: #60a5fa;
	border-color: rgba(59, 130, 246, 0.4);
}
.tier-4 .dynasty-tier-tag {
	background: rgba(16, 185, 129, 0.18);
	color: #34d399;
	border-color: rgba(16, 185, 129, 0.4);
}
.tier-5 .dynasty-tier-tag,
.tier-6 .dynasty-tier-tag {
	background: rgba(148, 163, 184, 0.15);
	color: #94a3b8;
	border-color: rgba(148, 163, 184, 0.3);
}

/* ==========================================================================
   Player Profile Modal Hub Tabs (Dynasty Value, News, Posts, Videos)
   ========================================================================== */

.dynasty-modal-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 28px;
	background: rgba(15, 23, 42, 0.85);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.dynasty-modal-tabs::-webkit-scrollbar {
	display: none;
}

.dynasty-modal-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	background: transparent;
	border: none;
	color: #94a3b8;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	transition: color 0.2s ease;
	outline: none;
}

.dynasty-modal-tab svg {
	flex-shrink: 0;
	transition: stroke 0.2s ease;
}

.dynasty-modal-tab:hover {
	color: #ffffff;
}

.dynasty-modal-tab:hover svg {
	stroke: #ffffff;
}

.dynasty-modal-tab.active {
	color: #ffffff;
	font-weight: 700;
}

.dynasty-modal-tab.active svg {
	stroke: var(--team-primary, #38bdf8);
}

.dynasty-modal-tab.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--team-primary, #38bdf8);
	box-shadow: 0 -1px 8px var(--team-primary, rgba(56, 189, 248, 0.5));
	border-radius: 3px 3px 0 0;
}

/* Tab Panels */
.dynasty-tab-panels {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	min-height: 460px;
	overflow: hidden;
}

.dynasty-tab-panel {
	display: none;
	width: 100%;
	height: 100%;
	max-height: 100%;
	box-sizing: border-box;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.dynasty-tab-panel::-webkit-scrollbar {
	width: 6px;
}
.dynasty-tab-panel::-webkit-scrollbar-track {
	background: transparent;
}
.dynasty-tab-panel::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}

.dynasty-tab-panel.active {
	display: block;
	animation: dpmFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dpmFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Feeds Container */
.dynasty-feed-container {
	padding: 12px 22px 14px;
	height: 100%;
	min-height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow-y: auto;
}

/* News Wire Timeline */
.dynasty-news-timeline {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dynasty-news-card {
	background: rgba(30, 41, 59, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 10px 14px;
	transition: all 0.2s ease;
}

.dynasty-news-card:hover {
	background: rgba(30, 41, 59, 0.85);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.25);
}

.dynasty-news-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 3px;
}

.dynasty-news-badge {
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 1.5px 6px;
	border-radius: 4px;
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.dynasty-news-date {
	font-size: 11.5px;
	color: #94a3b8;
	font-weight: 500;
}

.dynasty-news-title {
	margin: 0 0 3px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
}

.dynasty-news-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.18s ease;
}

.dynasty-news-title a:hover {
	color: var(--team-secondary, #c084fc);
}

.dynasty-news-excerpt {
	font-size: 13.5px;
	color: #e2e8f0;
	line-height: 1.5;
	margin-bottom: 0;
}

.dynasty-inline-more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #38bdf8;
	font-weight: 700;
	font-size: 12.5px;
	text-decoration: none;
	margin-left: 5px;
	white-space: nowrap;
	transition: color 0.15s ease, transform 0.15s ease;
}

.dynasty-inline-more:hover {
	color: #7dd3fc;
	text-decoration: underline;
	transform: translateX(2px);
}

/* Analysis Posts Grid */
.dynasty-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.dynasty-post-card {
	display: flex;
	flex-direction: column;
	background: rgba(30, 41, 59, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynasty-post-card:hover {
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-3px);
	box-shadow: 0 12px 26px -6px rgba(0, 0, 0, 0.4);
}

.dynasty-post-thumb-link {
	display: block;
	position: relative;
	width: 100%;
	height: 110px;
	overflow: hidden;
	background: #0f172a;
}

.dynasty-post-thumb {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s ease;
}

.dynasty-post-card:hover .dynasty-post-thumb {
	transform: scale(1.05);
}

.dynasty-post-thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.dynasty-post-cat-tag {
	position: absolute;
	bottom: 6px;
	left: 6px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #38bdf8;
	font-size: 9.5px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.dynasty-post-content {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.dynasty-post-date {
	font-size: 11px;
	color: #94a3b8;
	margin-bottom: 2px;
	font-weight: 500;
}

.dynasty-post-title {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.dynasty-post-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.18s ease;
}

.dynasty-post-title a:hover {
	color: var(--team-secondary, #c084fc);
}

.dynasty-post-excerpt {
	font-size: 13px;
	color: #e2e8f0;
	line-height: 1.45;
	margin: 0;
	flex: 1;
}

/* Video Grid & Embeds */
.dynasty-videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.dynasty-video-card {
	background: rgba(30, 41, 59, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.22s ease;
}

.dynasty-video-card:hover {
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -5px rgba(0, 0, 0, 0.35);
}

.dynasty-video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000000;
}

.dynasty-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.dynasty-video-thumb-link {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0f172a;
	overflow: hidden;
}

.dynasty-video-thumb {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dynasty-play-btn-overlay {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	transition: transform 0.2s ease, background 0.2s ease;
}

.dynasty-video-card:hover .dynasty-play-btn-overlay {
	transform: scale(1.1);
	background: var(--team-primary, #2563eb);
}

.dynasty-video-info {
	padding: 10px 12px;
}

.dynasty-video-date {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 500;
}

.dynasty-video-title {
	margin: 3px 0 0;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
}

.dynasty-video-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.18s ease;
}

.dynasty-video-title a:hover {
	color: var(--team-secondary, #c084fc);
}

/* Empty Feed States */
.dynasty-empty-feed-card {
	text-align: center;
	max-width: 500px;
	margin: auto;
	padding: 28px 20px;
	background: rgba(30, 41, 59, 0.4);
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: 12px;
}

.dynasty-empty-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(56, 189, 248, 0.1);
	color: #38bdf8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	border: 1px solid rgba(56, 189, 248, 0.25);
}

.dynasty-empty-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

.dynasty-empty-desc {
	font-size: 12.5px;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0 0 16px;
}

.dynasty-empty-desc strong {
	color: #f1f5f9;
}

.dynasty-empty-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 8px;
	background: rgba(56, 189, 248, 0.15);
	border: 1px solid rgba(56, 189, 248, 0.35);
	color: #38bdf8;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.dynasty-empty-cta-btn:hover {
	background: #38bdf8;
	color: #0f172a;
	box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
	transform: translateY(-1px);
}

/* Skeletons */
@keyframes dpmShimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

.dynasty-skeleton-row {
	height: 74px;
	border-radius: 10px;
	margin-bottom: 14px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
	background-size: 200% 100%;
	animation: dpmShimmer 1.6s infinite;
}

.dynasty-skeleton-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.dynasty-skeleton-card {
	height: 220px;
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
	background-size: 200% 100%;
	animation: dpmShimmer 1.6s infinite;
}

@media (max-width: 768px) {
	.dynasty-modal-tabs {
		padding: 0 16px;
	}
	.dynasty-modal-tab {
		padding: 12px 14px;
		font-size: 13px;
	}
	.dynasty-feed-container {
		padding: 18px 16px 28px;
	}
}

/* Injury Designations & DNP Reason Alerts */
.dpm-inj-pill {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	line-height: 1.2;
}

.dpm-inj-q {
	background: rgba(234, 179, 8, 0.15);
	color: #facc15;
	border: 1px solid rgba(234, 179, 8, 0.35);
}

.dpm-inj-d {
	background: rgba(249, 115, 22, 0.15);
	color: #fb923c;
	border: 1px solid rgba(249, 115, 22, 0.35);
}

.dpm-inj-o {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
	border: 1px solid rgba(239, 68, 68, 0.35);
}

.dpm-inj-ir {
	background: rgba(220, 38, 38, 0.2);
	color: #fca5a5;
	border: 1px solid rgba(220, 38, 38, 0.4);
}

.dpm-dnp-alert {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	margin-bottom: 12px;
	background: rgba(245, 158, 11, 0.08);
	border: 1px solid rgba(245, 158, 11, 0.25);
	border-radius: 8px;
	font-size: 12.5px;
	color: #f1f5f9;
}

.dpm-dnp-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f59e0b;
	color: #0f172a;
	font-weight: 800;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 4px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.dpm-dnp-desc {
	color: #cbd5e1;
	line-height: 1.35;
	font-size: 12px;
}

.dpm-dnp-desc strong {
	color: #fbbf24;
	font-weight: 700;
}

/* ==========================================================================
   Article & Post Integration: Featured Players Bar & Tags Bar
   ========================================================================== */
.dynasty-article-featured-players,
.dynasty-article-tags {
	font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 8px 12px;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	color: #94a3b8;
	font-size: 11.5px;
	line-height: 1.4;
	box-sizing: border-box;
}

.dynasty-article-featured-players {
	margin: 8px 0 20px 0;
}

.dynasty-article-tags {
	margin: 24px 0 16px 0;
}

.dynasty-article-meta-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #cbd5e1;
	font-size: 11px;
	margin-right: 4px;
	display: inline-flex;
	align-items: center;
}

.dynasty-article-pills,
.dynasty-article-tag-pills {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}

.dynasty-article-pill,
.dynasty-article-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 7px;
	background: #1e293b;
	color: #e2e8f0 !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
	line-height: 1.4;
}

.dynasty-article-pill:hover,
.dynasty-article-tag-pill.dynasty-is-player:hover {
	background: #334155;
	color: #38bdf8 !important;
	border-color: #38bdf8;
	transform: translateY(-1px);
}

.dynasty-article-tag-pill:not(.dynasty-is-player):hover {
	background: #334155;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.25);
}

.dynasty-pill-pos {
	display: inline-block;
	padding: 0 4px;
	font-size: 9px;
	font-weight: 700;
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border-radius: 2px;
	letter-spacing: 0.02em;
}

/* Fanatics Affiliate CTA in Player Modal */
.dpm-fanatics-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none !important;
	transition: all 0.2s ease;
	margin-top: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dpm-fanatics-cta:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   NFL Team Tag Pills (Article Integration)
   ========================================================================== */
.dynasty-article-tag-pill.dynasty-is-team {
	position: relative;
	border-color: rgba(var(--team-rgb, 56, 189, 248), 0.4);
	color: #f8fafc !important;
}

.dynasty-article-tag-pill.dynasty-is-team::before {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--team-primary, #38bdf8);
	box-shadow: 0 0 5px var(--team-primary, #38bdf8);
	margin-right: 5px;
	vertical-align: middle;
}

.dynasty-article-tag-pill.dynasty-is-team:hover {
	background: rgba(var(--team-rgb, 56, 189, 248), 0.15) !important;
	border-color: var(--team-primary, #38bdf8) !important;
	color: #ffffff !important;
	box-shadow: 0 0 8px rgba(var(--team-rgb, 56, 189, 248), 0.3);
}

/* ==========================================================================
   Dynasty Engine: NFL Team Hub & Pages
   ========================================================================== */
.dynasty-team-hub {
	font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
	background: #090712;
	color: #f1f5f9;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	margin: 25px 0 40px 0;
}

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

/* Hero Header */
.dynasty-team-hero {
	position: relative;
	background: linear-gradient(135deg, rgba(var(--team-rgb, 79, 38, 131), 0.35) 0%, rgba(9, 7, 18, 0.95) 100%), #0c0a17;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 32px 32px 0 32px;
}

.dynasty-team-hero-backdrop {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: radial-gradient(circle at 80% 20%, rgba(var(--team-rgb, 79, 38, 131), 0.25) 0%, transparent 60%);
	pointer-events: none;
}

.dynasty-team-hero-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding-bottom: 28px;
}

.dynasty-team-identity {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
	min-width: 280px;
}

.dynasty-team-logo-wrap {
	width: 96px;
	height: 96px;
	min-width: 96px;
	background: rgba(255, 255, 255, 0.04);
	border: 2px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dynasty-team-logo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.dynasty-team-breadcrumbs {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 4px;
}

.dynasty-team-title {
	font-size: 32px;
	font-weight: 900;
	color: #ffffff;
	margin: 0 0 10px 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dynasty-team-badges {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.dynasty-team-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dynasty-pill-conf {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.dynasty-pill-bye {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.dynasty-pill-fpts {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.dynasty-pill-age {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.dynasty-team-venue {
	font-size: 12px;
	color: #94a3b8;
	display: flex;
	align-items: center;
	gap: 4px;
}

.dynasty-team-venue .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	color: var(--team-primary, #38bdf8);
}

/* Quickstats Box */
.dynasty-team-quickstats {
	display: flex;
	gap: 12px;
}

.dynasty-quickstat-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 12px 18px;
	text-align: center;
	min-width: 100px;
}

.quickstat-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}

.quickstat-val {
	font-size: 20px;
	font-weight: 800;
	color: #ffffff;
}

.quickstat-val.has-injuries {
	color: #f87171;
}

/* Nav Tabs */
.dynasty-team-nav-tabs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin: 0 -32px;
	padding: 0 32px;
	background: rgba(0, 0, 0, 0.2);
}

.dynasty-team-nav-tabs::-webkit-scrollbar {
	display: none;
}

.dynasty-team-tab-btn {
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	color: #94a3b8;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 14px 20px;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.dynasty-team-tab-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.03);
}

.dynasty-team-tab-btn.active {
	color: #ffffff;
	border-bottom-color: var(--team-primary, #38bdf8);
	background: rgba(255, 255, 255, 0.06);
}

/* Tab Panels */
.dynasty-team-tab-panel {
	display: none;
	padding: 28px 32px;
}

.dynasty-team-tab-panel.active {
	display: block;
	animation: dynastyFadeIn 0.25s ease-out;
}

@keyframes dynastyFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Depth Filter Bar */
.dynasty-depth-filter-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.depth-filter-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.depth-filter-pill {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.depth-filter-pill:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.depth-filter-pill.active {
	background: var(--team-primary, #38bdf8);
	border-color: var(--team-primary, #38bdf8);
	color: #ffffff;
}

.depth-tip {
	font-size: 11px;
	color: #64748b;
}

/* Injury Report Banner */
.dynasty-injury-alert-box {
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.25);
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 24px;
}

.injury-alert-header {
	font-size: 13px;
	color: #f87171;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.injury-alert-header .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.injury-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.injury-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 6px;
	font-size: 11px;
	color: #f1f5f9;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.injury-chip:hover {
	background: rgba(239, 68, 68, 0.2);
	border-color: #ef4444;
	color: #ffffff !important;
}

.inj-badge {
	font-size: 9px;
	font-weight: 800;
	padding: 1px 5px;
	border-radius: 4px;
	text-transform: uppercase;
}

.inj-out, .inj-ir {
	background: #ef4444;
	color: #ffffff;
}

.inj-questionable, .inj-doubtful {
	background: #f59e0b;
	color: #000000;
}

/* Depth Chart Sections & Grid */
.dynasty-depth-section {
	margin-bottom: 32px;
}

.depth-section-title {
	font-size: 18px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 16px 0;
	display: flex;
	align-items: center;
	gap: 8px;
	letter-spacing: -0.01em;
}

.section-bullet {
	display: inline-block;
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: var(--team-primary, #38bdf8);
}

.depth-positions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.depth-pos-card {
	background: #110e1e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
}

.pos-card-header {
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.pos-tag {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 2px 7px;
	border-radius: 4px;
	color: #ffffff;
}

.pos-qb  { background: #ef4444; }
.pos-rb  { background: #3b82f6; }
.pos-wr  { background: #10b981; }
.pos-te  { background: #f59e0b; color: #000000; }
.pos-idp { background: #8b5cf6; }
.pos-spec{ background: #64748b; }

.pos-label {
	font-size: 12px;
	font-weight: 700;
	color: #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pos-player-list {
	padding: 6px;
}

.depth-player-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none !important;
	color: inherit;
	transition: all 0.15s ease;
	position: relative;
}

.depth-player-row:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateX(2px);
}

.depth-player-row.is-starter {
	background: rgba(var(--team-rgb, 56, 189, 248), 0.08);
	border-left: 3px solid var(--team-primary, #38bdf8);
}

.depth-player-row.is-starter:hover {
	background: rgba(var(--team-rgb, 56, 189, 248), 0.14);
}

.player-rank-slot {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	min-width: 20px;
	text-align: center;
}

.player-avatar {
	width: 34px;
	height: 34px;
	min-width: 34px;
	border-radius: 50%;
	overflow: hidden;
	background: #1e1b2e;
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
}

.player-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-fallback {
	font-size: 13px;
	font-weight: 800;
	color: #94a3b8;
}

.player-info {
	flex: 1;
	min-width: 0;
}

.player-name-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}

.player-name {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.starter-badge {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 1px 4px;
	border-radius: 3px;
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.4);
}

.sub-pos-badge {
	font-size: 9px;
	font-weight: 700;
	color: #94a3b8;
}

.inj-dot-badge {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ef4444;
	color: #ffffff;
	font-size: 9px;
	font-weight: 900;
	text-align: center;
	line-height: 14px;
}

.player-submeta {
	font-size: 11px;
	color: #64748b;
}

.player-fpts {
	text-align: right;
	min-width: 48px;
}

.fpts-val {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: #38bdf8;
	line-height: 1;
}

.fpts-lbl {
	display: block;
	font-size: 9px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 2px;
}

.empty-pos-msg {
	padding: 16px;
	text-align: center;
	font-size: 12px;
	color: #64748b;
}

/* Schedule Table */
.schedule-intro-bar,
.dvp-intro-bar,
.news-intro-bar {
	margin-bottom: 20px;
}

.schedule-intro-bar h3,
.dvp-intro-bar h3,
.news-intro-bar h3 {
	font-size: 18px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 6px 0;
}

.schedule-intro-bar .description,
.dvp-intro-bar .description,
.news-intro-bar .description {
	font-size: 12px;
	color: #94a3b8;
	margin: 0;
}

.schedule-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.dynasty-schedule-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	text-align: left;
}

.dynasty-schedule-table thead {
	background: #141124;
}

.dynasty-schedule-table th {
	padding: 12px 16px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dynasty-schedule-table td {
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	color: #cbd5e1;
}

.dynasty-schedule-table tr:hover td {
	background: rgba(255, 255, 255, 0.03);
}

.opp-flex {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ha-indicator {
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 4px;
	letter-spacing: 0.04em;
}

.ha-indicator.is-home {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
}

.ha-indicator.is-away {
	background: rgba(148, 163, 184, 0.15);
	color: #94a3b8;
}

.opp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 700;
}

.opp-link:hover {
	color: var(--team-primary, #38bdf8) !important;
}

.opp-mini-logo {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.time-dim {
	font-size: 11px;
	color: #64748b;
}

.view-opp-pill {
	font-size: 11px;
	font-weight: 700;
	color: #38bdf8 !important;
	text-decoration: none !important;
	background: rgba(56, 189, 248, 0.1);
	padding: 4px 10px;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.view-opp-pill:hover {
	background: rgba(56, 189, 248, 0.2);
}

/* DvP Grid */
.dvp-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.dvp-stat-card {
	background: #110e1e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 16px;
	position: relative;
	transition: all 0.2s ease;
}

.dvp-stat-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.2);
}

.dvp-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.dvp-pos {
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
}

.dvp-tier-pill {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 7px;
	border-radius: 4px;
}

.tier-pill-tough {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.tier-pill-neutral {
	background: rgba(234, 179, 8, 0.15);
	color: #eab308;
	border: 1px solid rgba(234, 179, 8, 0.3);
}

.tier-pill-favorable {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.dvp-card-metric {
	margin-bottom: 12px;
}

.dvp-rank {
	font-size: 32px;
	font-weight: 900;
	color: #ffffff;
	line-height: 1;
}

.dvp-rank-lbl {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	margin-left: 4px;
}

.dvp-card-footer {
	font-size: 12px;
	color: #94a3b8;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 10px;
}

.dvp-card-footer strong {
	color: #f1f5f9;
}

/* News Feed Grid */
.dynasty-team-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.dynasty-news-card {
	background: #110e1e;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.dynasty-news-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.news-thumb-link {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1c182d;
}

.news-thumb-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dynasty-news-card:hover .news-thumb-link img {
	transform: scale(1.05);
}

.news-card-body {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-date {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.news-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 8px 0;
}

.news-title a {
	color: #ffffff !important;
	text-decoration: none !important;
}

.news-title a:hover {
	color: var(--team-primary, #38bdf8) !important;
}

.news-excerpt {
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0 0 16px 0;
	flex: 1;
}

.news-read-more {
	font-size: 12px;
	font-weight: 700;
	color: var(--team-primary, #38bdf8) !important;
	text-decoration: none !important;
}

.news-read-more:hover {
	text-decoration: underline !important;
}

.empty-news-box {
	text-align: center;
	padding: 50px 20px;
	color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.dynasty-team-hero {
		padding: 20px 20px 0 20px;
	}

	.dynasty-team-nav-tabs {
		margin: 0 -20px;
		padding: 0 20px;
	}

	.dynasty-team-tab-panel {
		padding: 20px 16px;
	}

	.dynasty-team-title {
		font-size: 24px;
	}

	.dynasty-team-hero-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.dynasty-team-quickstats {
		width: 100%;
		justify-content: space-between;
	}

	.dynasty-quickstat-card {
		flex: 1;
		min-width: 0;
		padding: 8px 10px;
	}

	.quickstat-val {
		font-size: 16px;
	}

	.depth-positions-grid {
		grid-template-columns: 1fr;
	}
}



