.ap-estimated-stats-dashboard-page .jeg_content,
.ap-estimated-stats-dashboard-page .jeg_main {
	padding-top: 0;
}
.ap-estimated-stats-dashboard-page .jeg_share_top_container,
.ap-estimated-stats-dashboard-page .jnews_share_top_container {
	display: none !important;
}

.apgesd-page-shell {
	min-height: 70vh;
	padding: 34px 0 70px;
	background: #f4f5f7;
}

.apgesd-dashboard,
.apgesd-dashboard * {
	box-sizing: border-box;
}

.apgesd-dashboard {
	--apfd-ink: #29292f;
	--apfd-body: #3e3e44;
	--apfd-muted: #74747d;
	--apfd-line: #e4e5e9;
	--apfd-soft: #f7f7f9;
	--apfd-dark: #14141b;
	--apfd-accent: #ff5641;
	--apfd-alt: #ff6e35;
	--apfd-yellow: #ffcf40;
	--apfd-green: #159c68;
	--apfd-twitch: #9146ff;
	width: min( 1180px, calc( 100% - 32px ) );
	margin: 0 auto;
	color: var( --apfd-body );
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
}

.apgesd-dashboard h1,
.apgesd-dashboard h2,
.apgesd-dashboard p,
.apgesd-dashboard ul {
	margin-top: 0;
}

.apgesd-dashboard h1,
.apgesd-dashboard h2 {
	font-family: Poppins, Helvetica, Arial, sans-serif;
}

.apgesd-dashboard h1 {
	max-width: 690px;
	margin-bottom: 14px;
	color: #fff;
	font-size: clamp( 2.45rem, 5.5vw, 3.4rem );
	font-weight: 700;
	letter-spacing: -0.052em;
	line-height: 1.01;
}

.apgesd-dashboard h1 > span {
	display: block;
}

.apgesd-dashboard h2 {
	margin-bottom: 0;
	color: var( --apfd-ink );
	font-size: clamp( 1.35rem, 2.2vw, 1.85rem );
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.22;
}

.apgesd-dashboard .apfd-breadcrumb {
	display: flex;
	margin: 0 0 17px;
	align-items: center;
	color: #85858d;
	gap: 9px;
	font-size: 12px;
	font-weight: 600;
}

.apgesd-dashboard .apfd-breadcrumb a {
	color: var( --apfd-accent );
	text-decoration: none;
}

.apgesd-dashboard .apfd-breadcrumb a:hover {
	color: var( --apfd-alt );
}

.apgesd-dashboard .apfd-hero {
	position: relative;
	min-height: 520px;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 5px;
	background-color: var( --apfd-dark );
	background-image:
		linear-gradient( 90deg, rgba( 20, 20, 27, 0.99 ) 0%, rgba( 20, 20, 27, 0.91 ) 47%, rgba( 20, 20, 27, 0.22 ) 100% ),
		var( --apfd-hero-image );
	background-position: center, center;
	background-size: cover;
	box-shadow: 0 14px 34px rgba( 20, 20, 27, 0.17 );
}

.apgesd-dashboard .apfd-hero::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient( 90deg, var( --apfd-accent ), var( --apfd-alt ) 64%, var( --apfd-yellow ) );
	content: "";
}

.apgesd-dashboard .apfd-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	max-width: 780px;
	min-height: 520px;
	padding: clamp( 38px, 6vw, 74px );
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.apgesd-dashboard .apfd-eyebrow {
	margin-bottom: 7px;
	color: var( --apfd-yellow );
	font-family: Kanit, Poppins, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.105em;
	line-height: 1.3;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-hero__lead {
	max-width: 690px;
	margin-bottom: 27px;
	color: #d8d8dc;
	font-size: clamp( 15px, 1.8vw, 19px );
	line-height: 1.65;
}

.apgesd-dashboard .apfd-live-grid {
	display: grid;
	max-width: 650px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 14px;
}

.apgesd-dashboard .apfd-live-count {
	display: flex;
	padding: 17px 20px;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid rgba( 255, 255, 255, 0.15 );
	border-left: 4px solid var( --apfd-accent );
	background: rgba( 0, 0, 0, 0.34 );
	backdrop-filter: blur( 9px );
	gap: 8px;
}

.apgesd-dashboard .apfd-live-label {
	display: flex;
	align-items: center;
	color: #f0f0f2;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-live-label i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #41d489;
	box-shadow: 0 0 0 5px rgba( 65, 212, 137, 0.14 );
	animation: apgesd-pulse 2.2s ease-out infinite;
}

@keyframes apgesd-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba( 65, 212, 137, 0.4 );
	}
	70% {
		box-shadow: 0 0 0 8px rgba( 65, 212, 137, 0 );
	}
	100% {
		box-shadow: 0 0 0 0 rgba( 65, 212, 137, 0 );
	}
}

.apgesd-dashboard .apfd-live-count strong {
	display: block;
	color: #fff;
	font-size: clamp( 2rem, 4.5vw, 3.4rem );
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.05em;
	line-height: 1;
}

.apgesd-dashboard .apfd-live-updated {
	margin: 10px 0 0;
	color: #a9a9b0;
	font-size: 11px;
	line-height: 1.45;
}

.apgesd-dashboard .apfd-stat-grid {
	display: grid;
	margin-bottom: 14px;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 14px;
}

.apgesd-dashboard .apfd-stat-card {
	position: relative;
	min-width: 0;
	padding: 19px 20px 17px;
	border: 1px solid var( --apfd-line );
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 5px 18px rgba( 24, 25, 29, 0.045 );
}

.apgesd-dashboard .apfd-stat-card::before {
	position: absolute;
	top: -1px;
	left: 19px;
	width: 37px;
	height: 3px;
	background: var( --apfd-accent );
	content: "";
}

.apgesd-dashboard .apfd-stat-card > span,
.apgesd-dashboard .apfd-stat-card > small {
	display: block;
}

.apgesd-dashboard .apfd-stat-card > span {
	min-height: 21px;
	color: #85858d;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-stat-card strong {
	display: block;
	margin: 7px 0 4px;
	overflow: hidden;
	color: var( --apfd-ink );
	font-size: clamp( 1.35rem, 2.4vw, 1.9rem );
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.045em;
	line-height: 1.15;
	text-overflow: ellipsis;
}

.apgesd-dashboard .apfd-stat-card strong.is-positive {
	color: var( --apfd-green );
}

.apgesd-dashboard .apfd-stat-card strong.is-negative {
	color: #cf3f49;
}

.apgesd-dashboard .apfd-stat-card small {
	color: #9a9aa1;
	font-size: 11px;
	line-height: 1.4;
}

.apgesd-dashboard .apfd-disclosure {
	display: flex;
	margin-bottom: 18px;
	padding: 11px 15px;
	border: 1px solid var( --apfd-line );
	border-radius: 5px;
	background: var( --apfd-soft );
	align-items: center;
	color: var( --apfd-muted );
	font-size: 12px;
	gap: 10px;
}

.apgesd-dashboard .apfd-disclosure strong {
	color: var( --apfd-ink );
	font-weight: 700;
}

.apgesd-dashboard .apfd-disclosure a {
	margin-left: auto;
	color: var( --apfd-accent );
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.apgesd-dashboard .apfd-disclosure a:hover {
	color: var( --apfd-alt );
}

.apgesd-dashboard .apfd-panel {
	margin-bottom: 18px;
	padding: 34px 36px 32px;
	border: 1px solid var( --apfd-line );
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 1px 2px rgba( 20, 20, 27, 0.045 );
}

.apgesd-dashboard .apfd-panel__heading {
	display: flex;
	margin-bottom: 17px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.apgesd-dashboard .apfd-kicker {
	margin-bottom: 7px;
	color: var( --apfd-accent );
	font-family: Kanit, Poppins, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.105em;
	line-height: 1.3;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-kicker--trend {
	color: #2683c6;
}

.apgesd-dashboard .apfd-kicker--twitch {
	color: var( --apfd-twitch );
}

.apgesd-dashboard .apfd-source-pill {
	display: inline-flex;
	padding: 6px 11px;
	border: 1px solid #ffd4ce;
	border-radius: 30px;
	background: #fff5f3;
	color: var( --apfd-accent );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.apgesd-dashboard .apfd-source-pill--trend {
	border-color: #c5def0;
	background: #f0f7fc;
	color: #2683c6;
}

.apgesd-dashboard .apfd-source-pill--twitch {
	border-color: #dcccff;
	background: #f7f1ff;
	color: var( --apfd-twitch );
}

.apgesd-dashboard .apfd-panel__intro {
	max-width: 760px;
	margin-bottom: 22px;
	color: var( --apfd-muted );
	font-size: 14px;
}

.apgesd-dashboard .apfd-context-note {
	margin-bottom: 0;
	padding: 11px 14px;
	border-left: 3px solid var( --apfd-accent );
	background: var( --apfd-soft );
	color: var( --apfd-muted );
	font-size: 12.5px;
	line-height: 1.6;
}

.apgesd-dashboard .apfd-chart-status {
	min-height: 17px;
	margin: 12px 0 0;
	color: var( --apfd-muted );
	font-size: 11.5px;
}

.apgesd-dashboard .apfd-chart-status.is-error {
	color: #c0392b;
	font-weight: 600;
}

.apgesd-dashboard .apfd-chart-status.is-fallback {
	color: #8a6d1a;
}

.apgesd-dashboard .apfd-monthly-layout {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 22px;
}

.apgesd-dashboard .apfd-chart {
	position: relative;
	width: 100%;
}

.apgesd-dashboard .apfd-chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.apgesd-dashboard .apfd-chart--monthly {
	min-height: 320px;
}

.apgesd-dashboard .apfd-chart--compact {
	min-height: 200px;
}

.apgesd-dashboard .apfd-chart--history {
	min-height: 300px;
}

.apgesd-dashboard .apfd-grid-line {
	stroke: #e8e9ed;
	stroke-width: 1;
	shape-rendering: crispEdges;
}

.apgesd-dashboard .apfd-axis-label {
	fill: #93939d;
	font-size: 11px;
}

.apgesd-dashboard .apfd-line {
	fill: none;
	stroke: var( --apfd-accent );
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
}

.apgesd-dashboard .apfd-trend-line {
	stroke: #2683c6;
}

.apgesd-dashboard .apfd-point {
	stroke: #fff;
	stroke-width: 1.5;
}

.apgesd-dashboard .apfd-trend-point {
	fill: #2683c6;
}

.apgesd-dashboard .apfd-history-line {
	stroke: var( --apfd-accent );
	stroke-width: 2;
}

.apgesd-dashboard .apfd-history-point {
	fill: var( --apfd-accent );
}

.apgesd-dashboard .apgesd-estimated-bar {
	fill: var( --apfd-accent );
	opacity: 0.92;
	transition: opacity 0.15s ease;
}

.apgesd-dashboard .apgesd-estimated-bar:hover,
.apgesd-dashboard .apgesd-estimated-bar:focus {
	opacity: 1;
}

.apgesd-dashboard .apfd-twitch-bar {
	fill: var( --apfd-twitch );
	opacity: 0.9;
}

.apgesd-dashboard .apfd-twitch-value {
	fill: var( --apfd-ink );
	font-size: 12px;
	font-weight: 700;
}

.apgesd-dashboard .apfd-tooltip {
	position: absolute;
	z-index: 4;
	max-width: 260px;
	padding: 8px 11px;
	border-radius: 4px;
	background: var( --apfd-dark );
	box-shadow: 0 8px 20px rgba( 20, 20, 27, 0.28 );
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	opacity: 0;
	pointer-events: none;
	transform: translateY( 4px );
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.apgesd-dashboard .apfd-tooltip.is-visible {
	opacity: 1;
	transform: translateY( 0 );
}

.apgesd-dashboard .apfd-hover-guide {
	stroke: rgba( 20, 20, 27, 0.4 );
	stroke-width: 1;
	stroke-dasharray: 4 4;
	pointer-events: none;
}

.apgesd-dashboard .apfd-hover-dot {
	fill: var( --apfd-accent );
	stroke: #fff;
	stroke-width: 2;
	pointer-events: none;
}

.apgesd-dashboard .apfd-hover-bubble {
	pointer-events: none;
}

.apgesd-dashboard .apfd-chart-empty {
	display: flex;
	min-height: 150px;
	padding: 20px;
	border: 1px dashed var( --apfd-line );
	border-radius: 5px;
	background: var( --apfd-soft );
	align-items: center;
	justify-content: center;
	color: var( --apfd-muted );
	font-size: 13px;
	text-align: center;
}

.apgesd-dashboard .apfd-skeleton {
	position: relative;
	overflow: hidden;
	background: var( --apfd-soft );
}

.apgesd-dashboard .apfd-skeleton::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient( 90deg, transparent, rgba( 255, 255, 255, 0.75 ), transparent );
	content: "";
	animation: apgesd-shimmer 1.5s infinite;
}

@keyframes apgesd-shimmer {
	from {
		transform: translateX( -100% );
	}
	to {
		transform: translateX( 100% );
	}
}

.apgesd-dashboard .apfd-skeleton--chart {
	min-height: 320px;
	border-radius: 5px;
}

.apgesd-dashboard .apfd-skeleton--bars {
	height: 14px;
	margin: 6px 0;
	border-radius: 3px;
}

.apgesd-dashboard .apfd-table-wrap {
	max-height: 420px;
	overflow-y: auto;
	border: 1px solid var( --apfd-line );
	border-radius: 5px;
}

.apgesd-dashboard .apfd-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.apgesd-dashboard .apfd-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 11px 13px;
	background: var( --apfd-soft );
	color: var( --apfd-muted );
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-align: left;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-table tbody td {
	padding: 10px 13px;
	border-top: 1px solid var( --apfd-line );
	color: var( --apfd-ink );
	font-weight: 600;
}

.apgesd-dashboard .apfd-table tbody tr:nth-child( odd ) {
	background: #fcfcfd;
}

.apgesd-dashboard .apfd-change-up {
	color: var( --apfd-green );
}

.apgesd-dashboard .apfd-change-down {
	color: #c0392b;
}

.apgesd-dashboard .apfd-trend-overview {
	display: grid;
	grid-template-columns: 200px minmax( 0, 1fr );
	gap: 26px;
}

.apgesd-dashboard .apfd-trend-overview > div:first-child {
	display: flex;
	padding: 18px;
	border: 1px solid var( --apfd-line );
	border-radius: 5px;
	background: var( --apfd-soft );
	flex-direction: column;
	justify-content: center;
}

.apgesd-dashboard .apfd-trend-overview span {
	color: var( --apfd-muted );
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-trend-overview strong {
	margin: 6px 0 4px;
	color: #2683c6;
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.apgesd-dashboard .apfd-trend-overview small {
	color: var( --apfd-muted );
	font-size: 11px;
}

.apgesd-dashboard .apfd-region-list {
	display: flex;
	margin: 22px 0 4px;
	flex-direction: column;
	gap: 8px;
}

.apgesd-dashboard .apfd-region-row {
	display: grid;
	grid-template-columns: 200px minmax( 0, 1fr ) 46px;
	align-items: center;
	gap: 12px;
	font-size: 13px;
}

.apgesd-dashboard .apfd-region-name {
	overflow: hidden;
	color: var( --apfd-ink );
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.apgesd-dashboard .apfd-region-track {
	height: 7px;
	overflow: hidden;
	border-radius: 10px;
	background: #ececf0;
}

.apgesd-dashboard .apfd-region-bar {
	display: block;
	height: 100%;
	border-radius: 10px;
	background: linear-gradient( 90deg, #2683c6, #6ab3e8 );
}

.apgesd-dashboard .apfd-region-value {
	color: var( --apfd-ink );
	font-size: 12px;
	text-align: right;
}

.apgesd-dashboard .apfd-range-controls {
	display: flex;
	padding: 3px;
	border: 1px solid var( --apfd-line );
	border-radius: 7px;
	background: var( --apfd-soft );
	gap: 2px;
}

.apgesd-dashboard .apfd-range-controls button {
	padding: 7px 13px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var( --apfd-muted );
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	transition: background 0.12s ease, color 0.12s ease;
}

.apgesd-dashboard .apfd-range-controls button:hover {
	color: var( --apfd-ink );
}

.apgesd-dashboard .apfd-range-controls button.is-active {
	background: #fff;
	box-shadow: 0 1px 3px rgba( 20, 20, 27, 0.14 );
	color: var( --apfd-accent );
}

.apgesd-dashboard .apfd-range-controls button:disabled {
	cursor: default;
	opacity: 0.55;
}

.apgesd-dashboard .apfd-mini-stats {
	display: grid;
	margin-bottom: 20px;
	grid-template-columns: repeat( 3, 1fr );
	gap: 10px;
}

.apgesd-dashboard .apfd-mini-stats > div {
	display: flex;
	padding: 14px 16px;
	border: 1px solid var( --apfd-line );
	border-radius: 5px;
	flex-direction: column;
}

.apgesd-dashboard .apfd-mini-stats span {
	margin-bottom: 5px;
	color: var( --apfd-muted );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.apgesd-dashboard .apfd-mini-stats strong {
	color: var( --apfd-ink );
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.apgesd-dashboard .apfd-twitch-visual {
	position: relative;
	min-height: 260px;
}

.apgesd-dashboard .apfd-twitch-summary {
	min-height: 17px;
	margin: 12px 0 0;
	color: var( --apfd-muted );
	font-size: 11.5px;
}

.apgesd-dashboard .apfd-twitch-heatmap__heading {
	display: flex;
	margin-bottom: 10px;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.apgesd-dashboard .apfd-twitch-heatmap__heading strong {
	color: var( --apfd-ink );
	font-size: 13.5px;
}

.apgesd-dashboard .apfd-twitch-heatmap__heading span {
	color: var( --apfd-muted );
	font-size: 11px;
}

.apgesd-dashboard .apfd-twitch-heatmap__scroller {
	overflow-x: auto;
	padding-bottom: 4px;
}

.apgesd-dashboard .apfd-twitch-heatmap {
	display: grid;
	grid-template-columns: repeat( var( --apfd-twitch-columns ), minmax( 0, 1fr ) );
	gap: 3px;
	align-items: center;
}

.apgesd-dashboard .apfd-twitch-heatmap .apfd-twitch-corner {
	grid-column: 1;
}

.apgesd-dashboard .apfd-twitch-row-label {
	min-width: 0;
	color: var( --apfd-muted );
	font-size: 10.5px;
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
}

.apgesd-dashboard .apfd-twitch-axis-label {
	overflow: hidden;
	color: var( --apfd-muted );
	font-size: 9.5px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.apgesd-dashboard .apfd-twitch-cell {
	display: block;
	height: 18px;
	border-radius: 3px;
	background: #f0f0f4;
}

.apgesd-dashboard .apfd-twitch-cell.is-empty {
	background: #f7f7f9;
}

.apgesd-dashboard .apfd-twitch-cell--1 {
	background: #e3d6fb;
}

.apgesd-dashboard .apfd-twitch-cell--2 {
	background: #c9acf7;
}

.apgesd-dashboard .apfd-twitch-cell--3 {
	background: #a97df2;
}

.apgesd-dashboard .apfd-twitch-cell--4 {
	background: var( --apfd-twitch );
}

.apgesd-dashboard .apfd-twitch-cell:hover,
.apgesd-dashboard .apfd-twitch-cell:focus {
	outline: 2px solid var( --apfd-dark );
	outline-offset: 1px;
}

.apgesd-dashboard .apfd-twitch-legend {
	display: flex;
	margin-top: 12px;
	align-items: center;
	color: var( --apfd-muted );
	font-size: 11px;
	gap: 10px;
}

.apgesd-dashboard .apfd-twitch-legend strong {
	color: var( --apfd-ink );
	font-weight: 700;
}

.apgesd-dashboard .apfd-twitch-legend span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.apgesd-dashboard .apfd-twitch-legend i {
	display: inline-block;
	width: 13px;
	height: 13px;
	border-radius: 3px;
}

.apgesd-dashboard .apfd-two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.apgesd-dashboard .apfd-method-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.apgesd-dashboard .apfd-method-list li {
	display: flex;
	padding: 13px 0;
	border-top: 1px solid var( --apfd-line );
	flex-direction: column;
	gap: 3px;
}

.apgesd-dashboard .apfd-method-list li:first-child {
	border-top: 0;
}

.apgesd-dashboard .apfd-method-list strong {
	color: var( --apfd-ink );
	font-size: 13.5px;
}

.apgesd-dashboard .apfd-method-list span {
	color: var( --apfd-muted );
	font-size: 12.5px;
}

.apgesd-dashboard .apfd-faq details {
	padding: 13px 0;
	border-top: 1px solid var( --apfd-line );
}

.apgesd-dashboard .apfd-faq details:first-of-type {
	border-top: 0;
}

.apgesd-dashboard .apfd-faq summary {
	color: var( --apfd-ink );
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	list-style-position: outside;
}

.apgesd-dashboard .apfd-faq summary::-webkit-details-marker {
	color: var( --apfd-accent );
}

.apgesd-dashboard .apfd-faq details p {
	margin: 9px 0 0;
	color: var( --apfd-muted );
	font-size: 13px;
	line-height: 1.6;
}

.apgesd-dashboard [data-apgesd-monthly-change].is-positive {
	color: var( --apfd-green );
}

.apgesd-dashboard [data-apgesd-monthly-change].is-negative {
	color: #cf3f49;
}

@media ( max-width: 980px ) {
	.apgesd-dashboard .apfd-stat-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.apgesd-dashboard .apfd-monthly-layout,
	.apgesd-dashboard .apfd-trend-overview,
	.apgesd-dashboard .apfd-two-column {
		grid-template-columns: 1fr;
	}
}

@media ( max-width: 680px ) {
	.apgesd-page-shell {
		padding: 20px 0 45px;
	}

	.apgesd-dashboard {
		width: min( 100% - 20px, 1180px );
	}

	.apgesd-dashboard .apfd-hero,
	.apgesd-dashboard .apfd-hero__content {
		min-height: 480px;
	}

	.apgesd-dashboard .apfd-hero {
		background-image: linear-gradient( rgba( 20, 20, 27, 0.86 ), rgba( 20, 20, 27, 0.95 ) ), var( --apfd-hero-image );
	}

	.apgesd-dashboard .apfd-hero__content {
		padding: 34px 21px;
	}

	.apgesd-dashboard .apfd-hero__lead {
		font-size: 14px;
	}

	.apgesd-dashboard .apfd-stat-grid {
		gap: 9px;
	}

	.apgesd-dashboard .apfd-stat-card {
		padding: 16px 14px 14px;
	}

	.apgesd-dashboard .apfd-stat-card strong {
		font-size: 1.25rem;
	}

	.apgesd-dashboard .apfd-disclosure {
		flex-direction: column;
		gap: 5px;
	}

	.apgesd-dashboard .apfd-disclosure a {
		margin-left: 0;
	}

	.apgesd-dashboard .apfd-panel {
		padding: 20px 15px;
	}

	.apgesd-dashboard .apfd-panel__heading {
		flex-direction: column;
		gap: 10px;
	}

	.apgesd-dashboard .apfd-source-pill {
		align-self: flex-start;
	}

	.apgesd-dashboard .apfd-range-controls {
		align-self: stretch;
	}

	.apgesd-dashboard .apfd-range-controls button {
		flex: 1;
	}

	.apgesd-dashboard .apfd-mini-stats {
		grid-template-columns: 1fr;
	}

	.apgesd-dashboard .apfd-mini-stats > div {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.apgesd-dashboard .apfd-mini-stats span {
		margin: 0;
	}

	.apgesd-dashboard .apfd-region-row {
		grid-template-columns: 110px minmax( 0, 1fr ) 40px;
	}

	.apgesd-dashboard .apfd-twitch-heatmap__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}
}

@media ( max-width: 420px ) {
	.apgesd-dashboard .apfd-live-grid {
		grid-template-columns: 1fr;
	}

	.apgesd-dashboard .apfd-stat-grid {
		grid-template-columns: 1fr;
	}

	.apgesd-dashboard .apfd-stat-card > span {
		min-height: 0;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.apgesd-dashboard .apfd-live-label i,
	.apgesd-dashboard .apfd-skeleton::after,
	.apgesd-dashboard .apfd-tooltip {
		animation: none;
		transition: none;
	}
}