/* ---- Affiliate Panel Suite / temel katman ---- */

.aps-panel *,
.aps-switcher * { box-sizing: border-box; }

.aps-panel {
	display: none;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}
.aps-panel.is-active { display: block; }

.aps-panel img { max-width: 100%; }
.aps-panel table { border-collapse: collapse; width: 100%; }
.aps-panel button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.aps-panel a { text-decoration: none; color: inherit; }
.aps-panel ul { list-style: none; margin: 0; padding: 0; }
.aps-panel .screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.aps-panel select { font: inherit; }

.aps-panel :focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---- Tasarım seçici ---- */
.aps-switcher {
	position: sticky;
	top: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 10px 18px;
	background: #0d0f12;
	border-bottom: 1px solid #23262c;
	font-family: "Inter", system-ui, sans-serif;
}
.aps-switcher__note {
	color: #7a828e;
	font-size: 12px;
	letter-spacing: .01em;
	margin-right: auto;
}
.aps-switcher__note b { color: #e6e9ee; font-weight: 600; }
.aps-switcher__btns { display: flex; gap: 8px; }
.aps-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: #16191e;
	border: 1px solid #2a2e35;
	color: #aeb6c2;
	font-size: 13px;
	font-weight: 500;
	transition: background .15s, color .15s, border-color .15s;
}
.aps-switch:hover { background: #1d2127; color: #e6e9ee; }
.aps-switch__dot {
	width: 12px; height: 12px; border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.aps-switch[data-switch="aurum"] .aps-switch__dot   { background: linear-gradient(135deg, #c9a227, #6b1f2e); }
.aps-switch[data-switch="nova"] .aps-switch__dot    { background: linear-gradient(135deg, #4438f5, #12b886); }
.aps-switch[data-switch="redline"] .aps-switch__dot { background: linear-gradient(135deg, #e4373c, #f2a33c); }
.aps-switch.is-on {
	background: #fff;
	color: #0d0f12;
	border-color: #fff;
	font-weight: 600;
}

/* ---- Ortak grafik primitifleri (renkler panellerden gelir) ---- */
.aps-chart { position: relative; width: 100%; }
.aps-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.aps-chart .grid-line { stroke: currentColor; opacity: .12; stroke-width: 1; }
.aps-chart .axis-text { font-size: 10px; fill: currentColor; opacity: .55; }
.aps-chart .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.aps-chart .series-area { stroke: none; }
.aps-chart .hover-band { fill: transparent; }
.aps-chart .hover-rule { stroke: currentColor; opacity: .35; stroke-width: 1; stroke-dasharray: 3 3; }
.aps-chart .hover-dot { stroke-width: 2; }
.aps-chart .bar { transition: opacity .12s; }
.aps-chart .bar:hover { opacity: .78; }

.aps-tip {
	position: absolute;
	pointer-events: none;
	transform: translate(-50%, -120%);
	white-space: nowrap;
	padding: 7px 10px;
	font-size: 12px;
	line-height: 1.35;
	opacity: 0;
	transition: opacity .12s;
	z-index: 5;
}
.aps-tip.is-on { opacity: 1; }
.aps-tip b { display: block; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
	.aps-panel *, .aps-switcher * { transition: none !important; animation: none !important; }
}
