/* ============================================
   WCAG 2.1 AA Uyumlu Erisilebilirlik Widget
   ============================================ */

/* --- Widget Toggle Button --- */
.acc-widget-toggle {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 999999;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background: #2c5282;
  color: #fff;
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 0;
}

.acc-widget-toggle:hover,
.acc-widget-toggle:focus {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  outline: 3px solid #fbbf24;
}

.acc-widget-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --- Widget Panel --- */
.acc-widget-panel {
  position: fixed;
  top: 0;
  right: -460px;
  z-index: 999998;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
}

.acc-widget-panel,
.acc-widget-panel * {
  box-sizing: border-box;
}

.acc-widget-panel.acc-panel-large {
  width: 540px;
  right: -560px;
}

.acc-widget-panel.acc-open {
  right: 0;
}

.acc-widget-panel.acc-panel-large.acc-open {
  right: 0;
}

/* --- Left Position --- */
.acc-widget-panel.acc-position-left {
  right: auto;
  left: -460px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-widget-panel.acc-position-left.acc-panel-large {
  left: -560px;
}
.acc-widget-panel.acc-position-left.acc-open,
.acc-widget-panel.acc-position-left.acc-panel-large.acc-open {
  left: 0;
}

/* --- Panel Header --- */
.acc-widget-header {
  background: #2c5282;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.acc-widget-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.acc-widget-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.acc-widget-header .acc-shortcut-badge {
  font-size: 11px;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
}

.acc-widget-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.acc-widget-close:hover,
.acc-widget-close:focus {
  background: rgba(255, 255, 255, 0.35);
  outline: 2px solid #fbbf24;
}

/* --- Panel Body --- */
.acc-widget-body {
  padding: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* --- Language Selector --- */
.acc-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: #f7fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #2c5282;
  font-weight: 600;
}

.acc-lang-bar select {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 13px;
  color: #2c5282;
  background: #fff;
  cursor: pointer;
  line-height: 1.4;
  height: 28px;
  max-width: 100%;
}

/* --- Profile Section --- */
.acc-profiles {
  padding: 8px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.acc-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
}

.acc-profile-header .acc-chevron {
  transition: transform 0.2s;
  font-size: 12px;
}

.acc-profile-header .acc-chevron.open {
  transform: rotate(180deg);
}

.acc-profile-list {
  display: none;
  padding: 4px 0;
}

.acc-profile-list.acc-show {
  display: block;
}

.acc-profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.acc-profile-item:hover {
  background: #edf2f7;
}

.acc-profile-item.active {
  background: #ebf4ff;
}

.acc-profile-item .acc-profile-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.acc-profile-item .acc-profile-info {
  flex: 1;
}

.acc-profile-item .acc-profile-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  display: block;
}

.acc-profile-item .acc-profile-desc {
  font-size: 11px;
  color: #718096;
  display: block;
  margin-top: 2px;
}

.acc-profile-item .acc-profile-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
}

.acc-profile-item.active .acc-profile-radio {
  border-color: #2c5282;
  background: #2c5282;
  box-shadow: inset 0 0 0 3px #fff;
}

/* --- Panel Enlarge Toggle --- */
.acc-panel-enlarge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #2c5282;
  border-bottom: 1px solid #e2e8f0;
}

.acc-toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.acc-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.acc-toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #cbd5e1;
  border-radius: 12px;
  transition: background 0.2s;
}

.acc-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.acc-toggle-switch input:checked + .acc-toggle-slider {
  background: #2c5282;
}

.acc-toggle-switch input:checked + .acc-toggle-slider::before {
  transform: translateX(18px);
}

/* --- Feature Grid (3 columns) --- */
.acc-widget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
  min-width: 0;
}

/* --- Feature Button --- */
.acc-widget-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 6px 12px;
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 11px;
  font-weight: 600;
  color: #4a5568;
  text-align: center;
  min-height: 90px;
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.acc-widget-btn:hover {
  background: #edf2f7;
  border-color: #a0aec0;
}

.acc-widget-btn:focus {
  outline: 3px solid #2c5282;
  outline-offset: 2px;
}

.acc-widget-btn.active {
  background: #2c5282;
  border-color: #2c5282;
  color: #fff;
}

.acc-widget-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.acc-widget-btn .acc-icon {
  font-size: 26px;
  line-height: 1;
}

/* Level indicator dots */
.acc-level-dots {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.acc-level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.acc-widget-btn.active .acc-level-dot {
  background: rgba(255,255,255,0.4);
}

.acc-level-dot.filled {
  background: #2c5282;
}

.acc-widget-btn.active .acc-level-dot.filled {
  background: #fff;
}

/* Level badge on button */
.acc-level-badge {
  display: none;
  font-size: 10px;
  font-weight: 700;
}

.acc-widget-btn.active .acc-level-badge {
  display: inline;
}

/* --- Reset Button --- */
.acc-widget-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #166534;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
  flex-shrink: 0;
}

.acc-widget-reset:hover {
  background: #14532d;
}

.acc-widget-reset:focus {
  outline: 3px solid #38a169;
  outline-offset: -3px;
}

.acc-widget-reset svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Overlay --- */
.acc-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 999997;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.acc-widget-overlay.acc-open {
  opacity: 1;
  visibility: visible;
}

/* --- Panel Footer --- */
.acc-widget-footer {
  padding: 10px 20px;
  background: #2c5282;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

/* ============================================
   Accessibility Overrides (Applied to body)
   ============================================ */

/* --- Sayfa Zoom (stepped via button clicks) --- */
body.acc-font-size-1 { zoom: 1.1; }
body.acc-font-size-2 { zoom: 1.2; }
body.acc-font-size-3 { zoom: 1.3; }
body.acc-font-size-4 { zoom: 1.5; }

/* Panel ve toggle zoom'dan etkilenmesin Ã¢â‚¬â€ counter-zoom */
body.acc-font-size-1 .acc-widget-panel, body.acc-font-size-1 .acc-widget-toggle { zoom: 0.9091; }
body.acc-font-size-2 .acc-widget-panel, body.acc-font-size-2 .acc-widget-toggle { zoom: 0.8333; }
body.acc-font-size-3 .acc-widget-panel, body.acc-font-size-3 .acc-widget-toggle { zoom: 0.7692; }
body.acc-font-size-4 .acc-widget-panel, body.acc-font-size-4 .acc-widget-toggle { zoom: 0.6667; }

/* Widget panelinin font-size'dan etkilenmemesi iÃƒÂ§in */
.acc-widget-panel, .acc-widget-panel *,
.acc-widget-toggle, .acc-widget-toggle * { font-size: initial !important; }

/* --- Line Height --- */
body.acc-line-height-1 { line-height: 1.8 !important; }
body.acc-line-height-2 { line-height: 2.2 !important; }
body.acc-line-height-3 { line-height: 2.6 !important; }
body.acc-line-height-4 { line-height: 3.0 !important; }

/* Satir yuksekligi modu widget panelinin kendi yerlesimini degistirmemeli. */
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-panel,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-toggle {
  line-height: 1.4 !important;
}
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-panel *,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-toggle * {
  line-height: inherit !important;
}
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-header,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-lang-bar,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-profile-header,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-btn,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-footer {
  line-height: 1.4 !important;
}
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-btn .acc-icon,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-widget-close,
body:is(.acc-line-height-1, .acc-line-height-2, .acc-line-height-3, .acc-line-height-4) .acc-level-dot {
  line-height: 1 !important;
}

/* --- Letter Spacing --- */
body.acc-letter-spacing-1 * { letter-spacing: 1px !important; }
body.acc-letter-spacing-2 * { letter-spacing: 2px !important; }
body.acc-letter-spacing-3 * { letter-spacing: 3px !important; }
body.acc-letter-spacing-4 * { letter-spacing: 4px !important; }

/* --- Word Spacing --- */
body.acc-word-spacing-1 * { word-spacing: 4px !important; }
body.acc-word-spacing-2 * { word-spacing: 8px !important; }
body.acc-word-spacing-3 * { word-spacing: 12px !important; }
body.acc-word-spacing-4 * { word-spacing: 16px !important; }

/* --- Dyslexia Font --- */
@font-face {
  font-family: 'OpenDyslexic';
  src: url('https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/woff/OpenDyslexic-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body.acc-dyslexia-font * {
  font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif !important;
}

/* --- Color Blind Mode --- */
body.acc-colorblind-level-1 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom):not(.acc-widget-filters) {
  filter: url('#acc-colorblind-filter-standard') !important;
}

body.acc-colorblind-level-2 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom):not(.acc-widget-filters) {
  filter: url('#acc-colorblind-filter-protanopia') !important;
}

body.acc-colorblind-level-3 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom):not(.acc-widget-filters) {
  filter: url('#acc-colorblind-filter-deuteranopia') !important;
}

body.acc-colorblind-level-4 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom):not(.acc-widget-filters) {
  filter: url('#acc-colorblind-filter-tritanopia') !important;
}

/* --- Contrast Modes --- */

/* Koyu Kontrast: siyah zemin, sarÃ„Â± yazÃ„Â± (#000 bg, #f8f200 text) */
body.acc-dark-contrast {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg) brightness(0.7) !important;
}

/* AÃƒÂ§Ã„Â±k Kontrast: parlak arka plan, koyu yazÃ„Â± - kontrast ve parlaklÃ„Â±k artÃ„Â±rÃ„Â±lÃ„Â±r */
body.acc-light-contrast {
  filter: contrast(1.4) brightness(1.15) !important;
  background-color: #fff !important;
}
body.acc-light-contrast * {
  color: #000 !important;
}
body.acc-light-contrast a { color: #0000cc !important; text-decoration: underline !important; }
body.acc-light-contrast img,
body.acc-light-contrast video { filter: none !important; }

/* YÃƒÂ¼ksek Kontrast: filter bazlÃ„Â± - tam ters ÃƒÂ§evirme + gÃƒÂ¼ÃƒÂ§lÃƒÂ¼ kontrast */

/* Ters Kontrast: renkleri ters ÃƒÂ§evir */
body.acc-invert-contrast {
  filter: invert(100%) hue-rotate(180deg) !important;
}
body.acc-invert-contrast img,
body.acc-invert-contrast video {
  filter: invert(100%) hue-rotate(180deg) !important;
}

/* --- Grayscale --- */
body.acc-grayscale {
  filter: grayscale(100%) !important;
}

body.acc-grayscale-level-1 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  filter: grayscale(100%) !important;
}

body.acc-grayscale-level-2 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  filter: saturate(1) !important;
}

body.acc-grayscale-level-3 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  filter: saturate(0.65) !important;
}

body.acc-grayscale-level-4 > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  filter: saturate(1.65) !important;
}

/* --- Blue Light Filter --- */
body.acc-bluelight::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 180, 50, 0.15);
  z-index: 999990;
  pointer-events: none;
}

/* --- Highlight Links --- */
body.acc-highlight-links a:not(.acc-widget-panel a) {
  outline: 3px solid #f59e0b !important;
  outline-offset: 2px !important;
  background-color: rgba(245, 158, 11, 0.15) !important;
  text-decoration: underline !important;
}
body.acc-highlight-links a:not(.acc-widget-panel a):has(> div, > p, > h1, > h2, > h3, > h4, > h5, > h6, > section, > article) {
  display: block !important;
}

/* --- Large Cursor --- */
body.acc-large-cursor,
body.acc-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M4 4l16 40 6-16 16-6z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* --- Reading Guide Line --- */
.acc-reading-guide {
  position: fixed;
  left: 0;
  width: 100%;
  height: 6px;
  background: #ffdd00;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  z-index: 999990;
  pointer-events: none;
  display: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.acc-reading-guide::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #000;
}

body.acc-reading-guide-on .acc-reading-guide {
  display: block;
}

/* --- Reading Mask --- */
.acc-reading-mask-top,
.acc-reading-mask-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999989;
  pointer-events: none;
  display: none;
}

body.acc-reading-mask-on .acc-reading-mask-top,
body.acc-reading-mask-on .acc-reading-mask-bottom {
  display: block;
}

/* --- Hide Images --- */
body.acc-hide-images img:not(.acc-widget-panel img) {
  visibility: hidden !important;
}

/* --- Stop Animations --- */
body.acc-stop-animations * {
  animation: none !important;
  transition: none !important;
}

/* --- Text Alignment --- */
body.acc-text-left * { text-align: left !important; }
body.acc-text-center * { text-align: center !important; }
body.acc-text-right * { text-align: right !important; }
body.acc-text-justify * { text-align: justify !important; }

/* stop-animations paneli etkilemesin */
/* stop-animations paneli etkilemesin */
body.acc-stop-animations .acc-widget-panel,
body.acc-stop-animations .acc-widget-panel *,
body.acc-stop-animations .acc-widget-toggle { animation: revert !important; transition: revert !important; }

/* text-align paneli etkilemesin */
body[class*="acc-text-"] .acc-widget-panel,
body[class*="acc-text-"] .acc-widget-panel * { text-align: inherit !important; }
body[class*="acc-text-"] .acc-widget-panel { text-align: left !important; }
body[class*="acc-text-"] .acc-widget-btn { text-align: center !important; }
body[class*="acc-text-"] .acc-widget-reset { text-align: center !important; }
body[class*="acc-text-"] .acc-widget-footer { text-align: center !important; }

/* large-cursor paneli etkilemesin */
body.acc-large-cursor .acc-widget-panel,
body.acc-large-cursor .acc-widget-panel *,
body.acc-large-cursor .acc-widget-toggle { cursor: revert !important; }

/* TÃƒÂ¼m filter bazlÃ„Â± modlarda paneli koru */
body.acc-dark-contrast .acc-widget-panel,
body.acc-dark-contrast .acc-widget-toggle,
body.acc-light-contrast .acc-widget-panel,
body.acc-light-contrast .acc-widget-toggle,
body.acc-invert-contrast .acc-widget-panel,
body.acc-invert-contrast .acc-widget-toggle,
body.acc-bluelight .acc-widget-panel { filter: none !important; }

/* --- WCAG-safe Contrast Palettes --- */
/* Apply the new palettes after the legacy filter rules so these values always win. */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) {
  filter: none !important;
  background-color: var(--acc-contrast-page-bg) !important;
  color: var(--acc-contrast-text) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) img,
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) video {
  filter: none !important;
}

body.acc-dark-contrast {
  --acc-contrast-page-bg: #0b1220;
  --acc-contrast-surface-bg: #111827;
  --acc-contrast-text: rgb(252, 255, 60);
  --acc-contrast-muted: rgb(252, 255, 60);
  --acc-contrast-link: #93c5fd;
  --acc-contrast-link-hover: #dbeafe;
  --acc-contrast-accent-bg: #1d4ed8;
  --acc-contrast-accent-text: #ffffff;
  --acc-contrast-button-bg: #facc15;
  --acc-contrast-button-text: #111827;
  --acc-contrast-border: #cbd5e1;
  --acc-contrast-focus: #facc15;
}

body.acc-light-contrast {
  --acc-contrast-page-bg: #ffffff;
  --acc-contrast-surface-bg: #ffffff;
  --acc-contrast-text: rgb(0, 0, 211);
  --acc-contrast-muted: rgb(0, 0, 211);
  --acc-contrast-link: #0033aa;
  --acc-contrast-link-hover: #001f66;
  --acc-contrast-accent-bg: #e5e7eb;
  --acc-contrast-accent-text: #000000;
  --acc-contrast-button-bg: #000000;
  --acc-contrast-button-text: #ffffff;
  --acc-contrast-border: #111827;
  --acc-contrast-focus: #0033aa;
}

body.acc-invert-contrast {
  --acc-contrast-page-bg: #0f172a;
  --acc-contrast-surface-bg: #1e293b;
  --acc-contrast-text: #fefce8;
  --acc-contrast-muted: #e2e8f0;
  --acc-contrast-link: #67e8f9;
  --acc-contrast-link-hover: #a5f3fc;
  --acc-contrast-accent-bg: #312e81;
  --acc-contrast-accent-text: #fefce8;
  --acc-contrast-button-bg: #f59e0b;
  --acc-contrast-button-text: #111827;
  --acc-contrast-border: #cbd5e1;
  --acc-contrast-focus: #67e8f9;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  color: var(--acc-contrast-text) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, label, span, strong, em, small, legend, figcaption, th, td, blockquote, code, pre) {
  color: var(--acc-contrast-text) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(.section-subtitle, .card p, .link-card .link-info p, .gallery-card-body p, .content-block p, .content-section p, .links-section p) {
  color: var(--acc-contrast-muted) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(main, article, aside, form, fieldset, table, thead, tbody, tfoot, tr, th, td, blockquote, pre, code, .card, .content-section, .links-section, .link-card, .gallery-card, .content-block, .inline-links, .slider, .slider-overlay) {
  background: var(--acc-contrast-surface-bg) !important;
  border-color: var(--acc-contrast-border) !important;
  box-shadow: none !important;
}

/* Site-specific: header, menÃƒÂ¼ Ã¢â‚¬â€ arka plan */
body.acc-dark-contrast .pi-main-header-w,
body.acc-light-contrast .pi-main-header-w,
body.acc-invert-contrast .pi-main-header-w {
  background: var(--acc-contrast-surface-bg) !important;
}

/* Header iÃƒÂ§indeki tÃƒÂ¼m elementlerin rengi */
body.acc-dark-contrast .pi-main-header-w * {
  color: rgb(252, 255, 60) !important;
}
body.acc-light-contrast .pi-main-header-w * {
  color: rgb(0, 0, 211) !important;
}
body.acc-invert-contrast .pi-main-header-w * {
  color: #fefce8 !important;
}

/* Alt menÃƒÂ¼ arka planÃ„Â± */
/* Koyu kontrast: logo kapsayici beyaz zemin kullanmasin */
body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo .pi-has-bg,
body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo .pi-has-bg:hover,
body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo .pi-bordered {
  background: var(--acc-contrast-surface-bg) !important;
  border-color: var(--acc-contrast-surface-bg) !important;
  box-shadow: none !important;
}

body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo a,
body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo img,
body.acc-dark-contrast .pi-main-header-w .pi-header-block-logo svg {
  background: transparent !important;
}

body.acc-dark-contrast .flexnav > li > ul,
body.acc-dark-contrast .flexnav ul li,
body.acc-light-contrast .flexnav > li > ul,
body.acc-light-contrast .flexnav ul li,
body.acc-invert-contrast .flexnav > li > ul,
body.acc-invert-contrast .flexnav ul li {
  background: var(--acc-contrast-surface-bg) !important;
}

/* Alt menÃƒÂ¼ ikonlarÃ„Â± */
body.acc-dark-contrast .flexnav > li > ul > li > ul > li > i,
body.acc-light-contrast .flexnav > li > ul > li > ul > li > i,
body.acc-invert-contrast .flexnav > li > ul > li > ul > li > i {
  color: var(--acc-contrast-link) !important;
}

/* Site-specific: duyuru, haber, akademik, sayÃ„Â±larla, belgeler bÃƒÂ¶lÃƒÂ¼mleri */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.pi-section-w, .pi-section, .pi-row, .pi-col-sm-6, .pi-col-sm-12,
         .container-unikesfet, .container-sayilarlauni,
         .carousel-belgeler, .owl-carousel, .owl-stage-outer, .owl-stage, .owl-item) {
  background: var(--acc-contrast-page-bg) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.box-sayilarlauni, .owl-item .card, .carousel-belgeler .card,
         .duyuruheader-container, .duyuru-link) {
  background: var(--acc-contrast-surface-bg) !important;
  border-color: var(--acc-contrast-border) !important;
  box-shadow: none !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.duyuru-date, .duyuru-date span, .duyuru-date-sm,
         .sayilarlauni-rakam, .sayilarlauni-baslik,
         .duyuru-kisa-aciklama, .duyuruheader-container,
         .header-unikesfet, .metin, .metin-color-header, .metin-color-header span,
         .owl-item .card .card-body .header, .owl-item .card .card-body p,
         .owl-item .card .card-header .tagdate) {
  color: var(--acc-contrast-text) !important;
}

/* Koyu kontrast: duyuru-date, duyuru-link>p, haber-link span
   Specificity (0,9,1) Ã¢â‚¬â€ geniÃ…Å¸ :not() kuralÃ„Â±nÃ„Â± (0,7,1) kesin geÃƒÂ§er */
/* Koyu kontrast: sadece duyuru-date yeÃ…Å¸il */
body.acc-dark-contrast .duyuru-link .duyuru-date:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-dark-contrast .duyuru-link .duyuru-date:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) span {
  color: rgb(80, 208, 160) !important;
}

/* Koyu kontrast: duyuru-date-sm, duyuru-link p, haber-link span sarÃ„Â± */
body.acc-dark-contrast .duyuru-link .duyuru-date-sm:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-dark-contrast .duyuru-link p:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-dark-contrast .haber-link span:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  color: rgb(252, 255, 60) !important;
}

/* AÃƒÂ§Ã„Â±k kontrast: duyuru-date-sm, duyuru-link p, haber-link span mavi */
body.acc-light-contrast .duyuru-link .duyuru-date-sm:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-light-contrast .duyuru-link p:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-light-contrast .haber-link span:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  color: rgb(0, 0, 211) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.sayilarlauni-icon, .sayilarlauni-icon svg) {
  fill: var(--acc-contrast-link) !important;
  color: var(--acc-contrast-link) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.duyuru-seperate) {
  border-color: var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.owl-item .card .card-header .tagdate) {
  background: var(--acc-contrast-surface-bg) !important;
  color: var(--acc-contrast-text) !important;
  border: 1px solid var(--acc-contrast-border) !important;
}

/* Koyu kontrast tagdate: koyu zemin, sarÃ„Â± metin okunabilir olsun */
body.acc-dark-contrast .owl-item .card .card-header .tagdate {
  background: #0b1220 !important;
  color: rgb(252, 255, 60) !important;
  border: 1px solid rgb(252, 255, 60) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :is(.navbar, .hero, .page-header, .animated-banner, .footer) {
  background: var(--acc-contrast-accent-bg) !important;
  color: var(--acc-contrast-accent-text) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :is(.navbar, .hero, .page-header, .animated-banner, .footer) * {
  color: inherit !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(a) {
  color: var(--acc-contrast-link) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

/* Koyu kontrast: linklerin altÃ„Â± ÃƒÂ§izgisiz */
body.acc-dark-contrast a {
  text-decoration: none !important;
}

/* Koyu kontrast: bÃƒÂ¶lÃƒÂ¼m baÃ…Å¸lÃ„Â±klarÃ„Â± yeÃ…Å¸il Ã¢â‚¬â€ specificity (0,9,0) */
body.acc-dark-contrast .metin-color-header:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-dark-contrast .metin-color-header:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) span,
body.acc-dark-contrast .duyuruheader-container:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) .metin-color-header {
  color: rgb(80, 208, 160) !important;
}

/* Koyu kontrast: video play butonu ve dekorasyonu */
body.acc-dark-contrast .videopopup .icon {
  background: #000000 !important;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.5) !important;
}
body.acc-dark-contrast .videopopup::before {
  border-top-color: #000000 !important;
}

/* Koyu / AÃƒÂ§Ã„Â±k kontrast: sosyal medya Ã…Å¸erit container */
body.acc-dark-contrast .pi-section-base {
  background: #111827 !important;
  background-image: none !important;
}
body.acc-light-contrast .pi-section-base {
  background: #ffffff !important;
  background-image: none !important;
}

/* Koyu / AÃƒÂ§Ã„Â±k kontrast: sosyal medya ikon linkleri */
body.acc-dark-contrast .pi-section-base .pi-social-icons.pi-full-height li a {
  background: #000000 !important;
  background-image: none !important;
}
body.acc-dark-contrast .pi-social-icons .nsosyal_header,
body.acc-dark-contrast .pi-social-icons .nsosyal_header *,
body.acc-dark-contrast .pi-social-icons .sanal360_header,
body.acc-dark-contrast .pi-social-icons .sanal360_header *,
body.acc-dark-contrast .pi-social-icons.pi-full-height li a .nsosyal_header,
body.acc-dark-contrast .pi-social-icons.pi-full-height li a .nsosyal_header *,
body.acc-dark-contrast .pi-social-icons.pi-full-height li a .sanal360_header,
body.acc-dark-contrast .pi-social-icons.pi-full-height li a .sanal360_header * {
  color: var(--acc-contrast-text) !important;
  fill: var(--acc-contrast-text) !important;
  stroke: var(--acc-contrast-text) !important;
}
body.acc-light-contrast .pi-section-base .pi-social-icons.pi-full-height li a {
  background: #ffffff !important;
  background-image: none !important;
  color: rgb(0, 0, 211) !important;
}

/* Koyu / Acik / Invert kontrast: sol dikey menu (accordion) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion-container.pi-tabs-navigation,
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion-container .pi-shadow-effect9 {
  background: var(--acc-contrast-surface-bg) !important;
  border-color: var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .pi-tabs-vertical-container-header {
  background: var(--acc-contrast-surface-bg) !important;
  color: var(--acc-contrast-text) !important;
  border-color: var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li {
  background: var(--acc-contrast-surface-bg) !important;
  border-color: var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li a {
  color: var(--acc-contrast-link) !important;
  background: var(--acc-contrast-surface-bg) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li a:hover,
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li a:focus {
  color: var(--acc-contrast-link-hover) !important;
  background: var(--acc-contrast-page-bg) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li ul {
  background: var(--acc-contrast-page-bg) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .accordion li ul li a {
  color: var(--acc-contrast-link) !important;
}

/* Koyu / Acik / Invert kontrast: icerik alani (pi-tabs-content) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .pi-tabs-content {
  background: var(--acc-contrast-page-bg) !important;
  color: var(--acc-contrast-text) !important;
}

/* Koyu / Acik kontrast: sol panel butonu */
body.acc-dark-contrast .left-panel-div {
  background-color: #000000 !important;
}
body.acc-light-contrast .left-panel-div {
  background-color: rgb(0, 0, 211) !important;
}

/* Koyu kontrast: hÃ„Â±zlÃ„Â± eriÃ…Å¸im kartlarÃ„Â± arka plan */
body.acc-dark-contrast .slider-bottommenu-item {
  position: relative !important;
  background-color: #000000 !important;
  border-right-color: rgba(0, 0, 0, 0.4) !important;
  overflow: hidden !important;
}
body.acc-dark-contrast .slider-bottommenu-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-color: #000000 !important;
}
body.acc-dark-contrast .slider-bottommenu-item::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background-image: inherit !important;
  background-repeat: no-repeat !important;
  background-position: center 20px !important;
  background-size: 34% !important;
  filter: brightness(0) saturate(100%) invert(97%) sepia(95%) saturate(757%)
    hue-rotate(4deg) brightness(109%) contrast(104%) !important;
  pointer-events: none !important;
}
body.acc-dark-contrast .slider-bottommenu-header {
  position: relative !important;
  z-index: 2 !important;
  color: var(--acc-contrast-text) !important;
  margin-top: 75px !important;
}

/* AÃƒÂ§Ã„Â±k kontrast: ÃƒÅ“NÃ„Â°VERSÃ„Â°TEMÃ„Â°ZÃ„Â° KEÃ…ÂFEDÃ„Â°N video bÃƒÂ¶lÃƒÂ¼mÃƒÂ¼ */
body.acc-light-contrast .videopopup .icon {
  background: #ffffff !important;
  color: rgb(0, 0, 211) !important;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.15) !important;
}
body.acc-light-contrast .videopopup::before {
  border-top-color: #ffffff !important;
}
body.acc-light-contrast .videopopup::after {
  border-top-color: #ffffff !important;
}

/* AÃƒÂ§Ã„Â±k kontrast: hÃ„Â±zlÃ„Â± eriÃ…Å¸im kartlarÃ„Â± */
body.acc-light-contrast .slider-bottommenu-item {
  position: relative !important;
  background-color: #ffffff !important;
  border-right-color: rgba(0, 0, 211, 0.25) !important;
  overflow: hidden !important;
}
body.acc-light-contrast .slider-bottommenu-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-color: #ffffff !important;
}
body.acc-light-contrast .slider-bottommenu-item::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background-image: inherit !important;
  background-repeat: no-repeat !important;
  background-position: center 20px !important;
  background-size: 34% !important;
  filter: brightness(0) saturate(100%) invert(16%) sepia(98%) saturate(5128%)
    hue-rotate(236deg) brightness(91%) contrast(125%) !important;
  pointer-events: none !important;
}
body.acc-light-contrast .slider-bottommenu-header {
  position: relative !important;
  z-index: 2 !important;
  color: rgb(0, 0, 211) !important;
  margin-top: 75px !important;
}

/* AÃƒÂ§Ã„Â±k kontrast: bÃƒÂ¶lÃƒÂ¼m baÃ…Å¸lÃ„Â±klarÃ„Â± mavi Ã¢â‚¬â€ specificity (0,9,0) */
body.acc-light-contrast .metin-color-header:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom),
body.acc-light-contrast .metin-color-header:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) span,
body.acc-light-contrast .duyuruheader-container:not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) .metin-color-header {
  color: rgb(0, 0, 211) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(a:hover, a:focus-visible) {
  color: var(--acc-contrast-link-hover) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(button, [type="button"], [type="submit"], [type="reset"], .btn-submit) {
  background: var(--acc-contrast-button-bg) !important;
  color: var(--acc-contrast-button-text) !important;
  border: 2px solid var(--acc-contrast-border) !important;
  box-shadow: none !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(button, [type="button"], [type="submit"], [type="reset"], .btn-submit) * {
  color: inherit !important;
  fill: currentColor !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay)
  :where(input, select, textarea) {
  background: var(--acc-contrast-surface-bg) !important;
  color: var(--acc-contrast-text) !important;
  border: 2px solid var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.nav-links a.active, .banner-cta, .hero-badge, .animated-badge, .gallery-card-tag, .kbd, .card-icon, .link-icon, .slider-arrow) {
  background: var(--acc-contrast-button-bg) !important;
  color: var(--acc-contrast-button-text) !important;
  border: 2px solid var(--acc-contrast-border) !important;
  box-shadow: none !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.slider-dot) {
  background: var(--acc-contrast-muted) !important;
  border: 2px solid var(--acc-contrast-border) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(.slider-dot.active, .slider-progress) {
  background: var(--acc-contrast-link) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(blockquote) {
  border-left-color: var(--acc-contrast-link) !important;
}

body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--acc-contrast-focus) !important;
  outline-offset: 3px !important;
}

/* ===== PANEL RENK KORUMASI ===== */
/* Kontrast kurallarÃ„Â±nÃ„Â±n :not() zinciri (0,7,1) specificity verir.
   Bu blok .acc-widget-panel + aynÃ„Â± :not() zinciriyle (0,8,1) elde eder Ã¢â€ â€™ kazanÃ„Â±r. */

/* 1. Panel kÃƒÂ¶k */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .acc-widget-panel {
  background: #fff !important;
  color: #2d3748 !important;
  filter: none !important;
}

/* 2. TÃƒÂ¼m panel ÃƒÂ§ocuklarÃ„Â±: rengi miras al, kontrast arka plan/renk override'larÃ„Â±nÃ„Â± sÃ„Â±fÃ„Â±rla Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  color: inherit !important;
  background: unset !important;
  background-color: unset !important;
  background-image: unset !important;
  border: unset !important;
  box-shadow: unset !important;
  filter: none !important;
}

/* 3. Panel baÃ…Å¸lÃ„Â±Ã„Å¸Ã„Â± Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-header:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #2c5282 !important;
  color: #fff !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-close:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border: none !important;
}

/* 4. Dil ÃƒÂ§ubuÃ„Å¸u Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-lang-bar:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #f7fafc !important;
  color: #2c5282 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-lang-bar select:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #fff !important;
  color: #2c5282 !important;
  border: 1px solid #cbd5e1 !important;
}

/* 5. Ãƒâ€“zellik butonlarÃ„Â± Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-btn:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #f7fafc !important;
  color: #4a5568 !important;
  border: 1px solid #e2e8f0 !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-btn.active:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #2c5282 !important;
  color: #fff !important;
  border-color: #2c5282 !important;
}

/* 6. Seviye noktalarÃ„Â± Ã¢â‚¬â€ (0,8,1) ve (0,9,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-level-dot:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #cbd5e1 !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-level-dot.filled:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #2c5282 !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-btn.active .acc-level-dot.filled:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #fff !important;
}

/* 7. Toggle anahtarÃ„Â± Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-toggle-slider:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #cbd5e1 !important;
}
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel input:checked + .acc-toggle-slider:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #2c5282 !important;
}

/* 8. SÃ„Â±fÃ„Â±rlama butonu Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-reset:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #166534 !important;
  color: #fff !important;
  border: none !important;
}

/* 9. Panel alt bilgisi Ã¢â‚¬â€ (0,8,1) */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast)
  .acc-widget-panel .acc-widget-footer:not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom) {
  background: #2c5282 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 10. Toggle butonu baÃ„Å¸Ã„Â±msÃ„Â±z kalÃ„Â±r */
body:is(.acc-dark-contrast, .acc-light-contrast, .acc-invert-contrast) .acc-widget-toggle {
  filter: none !important;
}

/* ===== PANEL RENK KORUMASI SONU ===== */

/* --- Responsive --- */
@media (max-width: 480px) {
  .acc-widget-panel {
    width: 100vw;
    right: -100vw;
  }
  .acc-widget-header {
    padding: 14px 16px;
  }
  .acc-lang-bar,
  .acc-panel-enlarge {
    padding-left: 16px;
    padding-right: 16px;
  }
  .acc-widget-toggle {
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
  }
  .acc-widget-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px;
  }
  .acc-widget-btn {
    padding: 10px 4px 8px;
    min-height: 75px;
    font-size: 10px;
  }
}

body.acc-light-contrast .events-container {
  position: relative !important;
  z-index: 0 !important;
  background: var(--acc-contrast-page-bg) !important;
  box-shadow: 0 0 0 100vmax var(--acc-contrast-page-bg) !important;
  clip-path: inset(0 -100vmax) !important;
}

body.acc-light-contrast .events,
body.acc-light-contrast .events li,
body.acc-light-contrast .events-links,
body.acc-light-contrast .events-header-container,
body.acc-light-contrast .dd {
  background: var(--acc-contrast-page-bg) !important;
}

body.acc-light-contrast .events a,
body.acc-light-contrast .events a:hover,
body.acc-light-contrast .events a:active,
body.acc-light-contrast .events a:visited,
body.acc-light-contrast .events-sm-date,
body.acc-light-contrast .events-header,
body.acc-light-contrast .events-all-button {
  color: rgb(0, 0, 211) !important;
}

body.acc-light-contrast .events-all-button {
  border-color: rgb(0, 0, 211) !important;
  background: #ffffff !important;
}

/* Ters kontrast: klasik negatif görünüm için tüm sayfa içeriğini blok bazında ters çevir */
body.acc-invert-contrast {
  background: #ffffff !important;
}

body.acc-invert-contrast > :not(.acc-widget-panel):not(.acc-widget-toggle):not(.acc-widget-overlay):not(.acc-reading-guide):not(.acc-reading-mask-top):not(.acc-reading-mask-bottom):not(.acc-widget-filters) {
  filter: invert(100%) hue-rotate(180deg) !important;
}

/* Widget paneli ve kendi ikonlarÄ± ters kontrastÄ±n dÄ±ÅŸÄ±nda kalsÄ±n */
body.acc-invert-contrast .acc-widget-panel,
body.acc-invert-contrast .acc-widget-panel *,
body.acc-invert-contrast .acc-widget-toggle,
body.acc-invert-contrast .acc-widget-toggle *,
body.acc-invert-contrast .acc-widget-overlay,
