@font-face {
	font-family: OpenDyslexic;
	src: url('https://cdn.uyap.gov.tr/portal/fonts/OpenDyslexic/OpenDyslexic-Regular.otf');
	font-weight: 100;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: OpenDyslexic;
	src: url('https://cdn.uyap.gov.tr/portal/fonts/OpenDyslexic/OpenDyslexic-Bold.otf');
	font-weight: 500;
	font-style: bold;
	font-display: swap
}

body {
	overflow-x: hidden
}

.span-2 {
	grid-column: 2 span
}

.play-button,
.stop-button {
	margin-top: 4px;
	margin-bottom: 0 !important
}

.ac-box[data-acc-option=hover-reader] svg,
.ac-box[data-acc-option=screen-reader] svg {
	margin-bottom: 4px !important
}

.ac-box.active[data-acc-option=screen-reader] .play-button,
.ac-box.active[data-acc-option=select-reader] .play-button,
.ac-box:not(.active)[data-acc-option=screen-reader] .stop-button,
.ac-box:not(.active)[data-acc-option=select-reader] .stop-button {
	display: none
}

/* =============================================
   TOGGLE BUTONU
   ============================================= */
.accessibility-toggle-button {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	bottom: 60px;
	left: 8px;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background-color: gold;
	border: 0;
	z-index: 99999999;
	transition: .2s;
	box-shadow: #000 0 .125rem .25rem !important;
	color: #000 !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important
}

.accessibility-toggle-button svg {
	width: 55px
}

.accessibility-toggle-button:hover {
	transform: scale(1.1)
}

.accessibility-toggle-button:hover svg {
	width: 60px
}

/* =============================================
   PANEL TEMEL YAPI
   ============================================= */
.ac-panel * {
	box-sizing: border-box
}

#accessibilityPanel {
	width: 400px;
	max-width: 100%;
	position: fixed !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	z-index: 999999 !important;
	background-color: #f5f5f5 !important;
	padding: 16px !important;
	display: flex !important;
	visibility: hidden;
	flex-direction: column !important;
	transform: translateX(400px);
	overflow-y: auto !important;
	-webkit-box-shadow: -7px 0 16px -6px rgba(0, 0, 0, .24);
	-moz-box-shadow: -7px 0 16px -6px rgba(0, 0, 0, .24);
	box-shadow: -7px 0 16px -6px rgba(0, 0, 0, .24);
	transition: transform .3s ease-in-out, visibility .4s;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 14px !important;
	color: #1c1c1c !important;
	line-height: 1.5 !important;
	letter-spacing: normal !important;
	word-spacing: normal !important;
	text-transform: none !important;
	filter: none !important
}

#accessibilityPanel.show {
	transform: translateX(0);
	visibility: visible
}

#accessibilityPanel * {
	letter-spacing: normal !important;
	word-spacing: normal !important;
	text-transform: none !important;
	font-style: normal !important
}

.ac-panel--header {
	display: flex;
	justify-content: space-between;
	padding-bottom: 16px
}

#accessibilityPanel .ac-panel--header h5,
#accessibilityPanel h5 {
	font-size: 20px !important;
	line-height: 30px !important;
	margin: 0 !important;
	color: #1c1c1c !important;
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
	font-weight: 600 !important
}

.ac-panel--body {
	flex-grow: 1;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	margin-bottom: 4px
}

#accessibilityPanel .ac-panel--close-button {
	box-sizing: content-box !important;
	width: 1em !important;
	height: 1em !important;
	padding: .25em !important;
	color: #000 !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat rgba(0, 0, 0, 0) !important;
	border: 0 !important;
	border-radius: .375rem !important;
	opacity: .5;
	text-decoration: none !important;
	box-shadow: none !important
}

#accessibilityPanel .ac-panel--close-button:hover {
	color: #000 !important;
	text-decoration: none !important;
	opacity: .75
}

#accessibilityPanel .ac-panel--close-button:focus {
	box-shadow: #000 0 0 0 .25rem !important;
	opacity: 1
}

.ac-panel--wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px
}

/* =============================================
   AC-BOX BUTONLARI - Tam izolasyon
   ============================================= */
#accessibilityPanel .ac-box,
#accessibilityPanel .ac-box:link,
#accessibilityPanel .ac-box:visited,
#accessibilityPanel .ac-box:hover,
#accessibilityPanel .ac-box:focus,
#accessibilityPanel .ac-box:active {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: column !important;
	padding: 12px 0 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	text-align: center !important;
	user-select: none !important;
	transition: .2s !important;
	color: #1c1c1c !important;
	background-color: #fff !important;
	border: 2px solid transparent !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important
}

#accessibilityPanel .ac-box:hover {
	border-color: gold !important;
	background-color: #fff !important;
	color: #1c1c1c !important
}

#accessibilityPanel .ac-box.active,
#accessibilityPanel .ac-box.active:hover,
#accessibilityPanel .ac-box.active:focus {
	background-color: gold !important;
	color: #1c1c1c !important;
	border-color: transparent !important;
	position: relative
}

#accessibilityPanel .ac-box.active::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
	position: absolute;
	right: 6px;
	top: 6px
}

#accessibilityPanel .ac-box svg {
	margin-bottom: 16px !important;
	stroke: #3e3e3e !important;
	fill: none !important;
	color: #3e3e3e !important;
	width: 24px !important;
	height: 24px !important;
	flex-shrink: 0 !important
}

#accessibilityPanel .ac-box.active svg {
	stroke: #1c1c1c !important;
	fill: none !important
}

#accessibilityPanel .ac-box.span-2 {
	grid-column: 2 span
}

/* =============================================
   TEMİZLE BUTONU
   ============================================= */
#accessibilityPanel .ac-clear-button,
#accessibilityPanel .ac-clear-button:link,
#accessibilityPanel .ac-clear-button:visited,
#accessibilityPanel .ac-clear-button:hover,
#accessibilityPanel .ac-clear-button:focus {
	margin-top: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #1c1c1c !important;
	color: #fff !important;
	padding: 6px 12px !important;
	border: 1px solid #1c1c1c !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	cursor: pointer !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-align: center !important;
	user-select: none !important;
	transition: .2s !important;
	box-shadow: none !important;
	width: 100% !important
}

#accessibilityPanel .ac-clear-button:hover {
	background-color: #3e3e3e !important;
	border-color: #3e3e3e !important
}

#accessibilityPanel .ac-clear-button svg {
	width: 20px !important;
	height: 20px !important;
	margin-right: 6px !important;
	stroke: #fff !important;
	fill: none !important;
	flex-shrink: 0 !important
}

/* =============================================
   ERİŞİLEBİLİRLİK ÖZELLİKLERİ
   ============================================= */

.contrast {
	filter: invert(1) !important
}
.contrast #accessibilityPanel {
	filter: invert(1) !important
}

.highlight-links a *:not(#accessibilityPanel):not(#accessibilityPanel *) {
	background: #000 !important;
	color: #ff0 !important;
	text-decoration: underline !important
}
.highlight-links #accessibilityPanel,
.highlight-links #accessibilityPanel * {
	background-color: unset !important;
	color: unset !important;
	text-decoration: unset !important
}
.highlight-links #accessibilityPanel .ac-box {
	background-color: #fff !important;
	color: #1c1c1c !important
}
.highlight-links #accessibilityPanel .ac-box.active {
	background-color: gold !important
}
.highlight-links #accessibilityPanel .ac-clear-button {
	background-color: #1c1c1c !important;
	color: #fff !important
}

.bigger-text body {
	font-size: 120% !important;
	zoom: 1.2
}

.dyslexic-friendly body,
.dyslexic-friendly body * {
	font-family: OpenDyslexic !important
}

.bigger-cursor,
.bigger-cursor * {
	cursor: url('bigger-curser.svg') 0 0, auto !important
}

.reading-guide-line {
	width: 70vw !important;
	min-width: 200px !important;
	position: absolute !important;
	height: 8px;
	z-index: 2147483647;
	background-color: #000;
	border-radius: 3px;
	transform: translate(-50%);
	border: 1px solid #ff0;
	pointer-events: none;
	display: none;
	zoom: 1 !important
}

.reading-guide .reading-guide-line {
	display: block !important
}

.reading-focus-overlay-bottom,
.reading-focus-overlay-top {
	position: fixed;
	width: 100%;
	background-color: rgba(0, 0, 0, .7);
	z-index: 99999999999;
	display: none
}

.reading-focus-overlay-top {
	top: 0;
	border-bottom: 5px solid navy
}

.reading-focus-overlay-bottom {
	bottom: 0;
	border-top: 5px solid #dc143c
}

.reading-mask .reading-focus-overlay-bottom,
.reading-mask .reading-focus-overlay-top {
	display: block
}

.desaturate {
	filter: saturate(0)
}
.desaturate #accessibilityPanel {
	filter: none !important
}

.low-saturation {
	filter: saturate(.5)
}
.low-saturation #accessibilityPanel {
	filter: none !important
}

.high-saturation {
	filter: saturate(2)
}
.high-saturation #accessibilityPanel {
	filter: none !important
}

.align-text-left * {
	text-align: left !important
}

.line-height p {
	line-height: 2 !important
}

.remove-images img {
	display: none !important
}

.blue-light-filter body:after {
	pointer-events: none;
	content: '';
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgb(255, 255, 195);
	mix-blend-mode: multiply;
	z-index: 2147483646
}

/* =============================================
   EKRAN OKUYUCU HIGHLIGHT
   Eski: background-color: #ff0 — büyük container'lar
   tüm sayfayı sarıya boyuyordu.
   Yeni: outline ile sadece kenarlık, içerik görünür kalır.
   ============================================= */
.accSpeakingArea {
	outline: 3px solid #ff0 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 4px rgba(255, 220, 0, 0.35) !important
}

/* =============================================
   YARDIMCI
   ============================================= */
.active-options-badge {
	position: absolute;
	top: -6px;
	left: -5px;
	background-color: #006716;
	color: #fff;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700
}

.d-none {
	display: none
}

@media screen and (max-width:576px) {
	.hide-on-sm {
		display: none
	}
}