/*!
 * Dijital Katalog — flipbook viewer
 * Tek kaynak: hem statik dagitimda hem WordPress eklentisinde kullanilir.
 */

.dk {
  --dk-brand: #1a3b68;
  --dk-accent: #c7a15a;
  --dk-bg: #10151d;
  --dk-bg-2: #171e29;
  --dk-chrome: rgba(16, 21, 29, 0.92);
  --dk-chrome-solid: #10151d;
  --dk-fg: #eef2f7;
  --dk-fg-dim: #9fabbd;
  --dk-line: rgba(255, 255, 255, 0.12);
  --dk-hover: rgba(255, 255, 255, 0.1);
  --dk-bar: 56px;
  --dk-radius: 10px;
  --dk-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);

  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #223043 0%, var(--dk-bg) 62%),
    var(--dk-bg);
  color: var(--dk-fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.dk *,
.dk *::before,
.dk *::after { box-sizing: border-box; }

.dk :focus-visible {
  outline: 2px solid var(--dk-accent);
  outline-offset: 2px;
}

.dk--light {
  --dk-bg: #e8ebf0;
  --dk-bg-2: #f4f6f9;
  --dk-chrome: rgba(255, 255, 255, 0.94);
  --dk-chrome-solid: #ffffff;
  --dk-fg: #16202e;
  --dk-fg-dim: #5a6779;
  --dk-line: rgba(0, 0, 0, 0.12);
  --dk-hover: rgba(0, 0, 0, 0.07);
  --dk-shadow: 0 18px 44px rgba(20, 30, 45, 0.24);
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--dk-bg) 65%),
    var(--dk-bg);
}

/* Tam ekran modunda konteyner viewport'u kaplar */
.dk:fullscreen,
.dk:-webkit-full-screen { width: 100vw; height: 100vh; }

/* Sayfa icine gomulu (kisa kod / blok) */
.dk--embedded {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin-block: 1.5em;
}

.dk--embedded:fullscreen,
.dk--embedded:-webkit-full-screen { border-radius: 0; margin: 0; }

/* ---------------------------------------------------------------- sahne -- */

.dk__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 2600px;
  perspective-origin: 50% 50%;
  cursor: grab;
}

.dk__stage.is-grabbing { cursor: grabbing; }
.dk__stage.is-zoomed { cursor: move; }

.dk__viewport {
  position: relative;
  transform-origin: 50% 50%;
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.dk__viewport.is-dragging { transition: none; }

.dk__book {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 2px;
  /* kapak / arka kapak tek basinayken kitap ortaya kayar */
  transition: transform 520ms cubic-bezier(0.45, 0, 0.2, 1);
}

.dk__book.no-slide { transition: none; }

/* kitabin altindaki gölge */
.dk__book::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -26px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.5), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.dk--light .dk__book::after { background: radial-gradient(50% 50% at 50% 50%, rgba(25, 35, 50, 0.32), transparent 72%); }

.dk__side {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--dk-shadow);
}

.dk__side--left  { left: 0; border-radius: 3px 1px 1px 3px; }
.dk__side--right { right: 0; border-radius: 1px 3px 3px 1px; }
.dk--single .dk__side--right { border-radius: 3px; }

.dk__side.is-empty { background: transparent; box-shadow: none; }

.dk__page-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}

.dk__side.is-empty .dk__page-img { opacity: 0; }

/* sayfa kagit dokusu: cilt payina dogru hafif koyulma */
.dk__gutter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dk__side--left .dk__gutter {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 3%, transparent 10%);
}

.dk__side--right .dk__gutter {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 3%, transparent 10%);
}

.dk--single .dk__gutter { background: none; }

/* sayfa yigini (kitap kalinligi hissi) */
.dk__edge {
  position: absolute;
  top: 1.2%;
  bottom: 1.2%;
  width: 7px;
  pointer-events: none;
  opacity: 0.85;
}

.dk__edge--left {
  left: -7px;
  border-radius: 3px 0 0 3px;
  background: repeating-linear-gradient(to left, #fff 0 1px, #d7dbe2 1px 2px);
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.18);
}

.dk__edge--right {
  right: -7px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(to right, #fff 0 1px, #d7dbe2 1px 2px);
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.18);
}

.dk.is-first .dk__edge--left,
.dk.is-last  .dk__edge--right,
.dk--single  .dk__edge { display: none; }

/* --------------------------------------------------------- ceviren sayfa -- */

.dk__flip {
  position: absolute;
  top: 0;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 30;
  backface-visibility: visible;
}

.dk__flip--next { right: 0; transform-origin: left center; }
.dk__flip--prev { left: 0;  transform-origin: right center; }

.dk__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  box-shadow: var(--dk-shadow);
}

.dk__face--back { transform: rotateY(180deg); }

.dk__face-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.dk__flip--next .dk__face--front .dk__face-shade {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%, transparent);
}
.dk__flip--next .dk__face--back .dk__face-shade {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%, transparent);
}
.dk__flip--prev .dk__face--front .dk__face-shade {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%, transparent);
}
.dk__flip--prev .dk__face--back .dk__face-shade {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%, transparent);
}

/* ceviren sayfanin altdaki sayfaya dusurdugu gölge */
.dk__cast {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
}

/* konum, genislik ve yon JS tarafindan acisal olarak surulur */

/* koseden cevir ipucu */
.dk__corner {
  position: absolute;
  bottom: 0;
  width: 58px;
  height: 58px;
  z-index: 25;
  cursor: pointer;
  opacity: 0;
  transition: opacity 180ms ease;
}

.dk__corner--next {
  right: 0;
  background: linear-gradient(315deg, rgba(255, 255, 255, 0.95) 0 46%, rgba(0, 0, 0, 0.16) 47%, transparent 62%);
  border-bottom-right-radius: 2px;
}
.dk__corner--prev {
  left: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.95) 0 46%, rgba(0, 0, 0, 0.16) 47%, transparent 62%);
  border-bottom-left-radius: 2px;
}

.dk__stage:hover .dk__corner { opacity: 0.9; }
.dk.is-first .dk__corner--prev,
.dk.is-last  .dk__corner--next,
.dk.is-flipping .dk__corner { opacity: 0 !important; pointer-events: none; }

@media (hover: none) {
  .dk__corner { display: none; }
}

/* -------------------------------------------------------------- baglanti -- */

.dk__hotspot {
  position: absolute;
  z-index: 15;
  border-radius: 3px;
  background: rgba(199, 161, 90, 0.14);
  box-shadow: inset 0 0 0 1px rgba(199, 161, 90, 0.5);
  opacity: 0;
  transition: opacity 160ms ease;
  cursor: pointer;
}

.dk__side:hover .dk__hotspot,
.dk__hotspot:focus-visible { opacity: 1; }

/* ------------------------------------------------------------- yan oklar -- */

/* Gorunum degerleri asagidaki "tema korumasi" bolumunde (!important) tanimlidir. */
.dk__nav {
  position: absolute;
  top: 50%;
  z-index: 40;
  margin-top: -24px;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 200ms ease, transform 160ms ease, background-color 160ms ease;
}

.dk__nav--prev { left: 16px; }
.dk__nav--next { right: 16px; }
.dk__nav:hover,
.dk__nav:focus-visible { opacity: 1; transform: scale(1.06); }
.dk__nav[disabled] { opacity: 0 !important; pointer-events: none; }

.dk--sm .dk__nav { margin-top: -19px; opacity: 0.8; }
.dk--sm .dk__nav--prev { left: 8px; }
.dk--sm .dk__nav--next { right: 8px; }

/* --------------------------------------------------------------- toolbar -- */

.dk__bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  height: calc(var(--dk-bar) + env(safe-area-inset-bottom, 0px));
  padding: 0 8px env(safe-area-inset-bottom, 0px);
  background: var(--dk-chrome);
  border-top: 1px solid var(--dk-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dk__bar-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dk__bar-spacer { flex: 1 1 auto; }

.dk__btn {
  flex: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.dk__btn:active { transform: scale(0.94); }
.dk__btn[disabled] { cursor: default; transform: none; }

.dk__counter {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  margin: 0 3px;
  padding: 0 14px 0 6px;
  border: 1px solid var(--dk-line);
  border-radius: 999px;
  color: var(--dk-fg-dim);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dk__counter input::-webkit-outer-spin-button,
.dk__counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dk__title {
  max-width: 34ch;
  overflow: hidden;
  padding-left: 8px;
  color: var(--dk-fg-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
 * Duyarlilik ekran genisligine degil, viewer'in KENDI genisligine gore calisir
 * (dk--md / dk--sm / dk--xs siniflarini JS atar). Boylece dar bir icerik
 * sutununa gomuldugunde de cubuk tasmaz.
 */
.dk--md .dk__title { display: none; }

.dk--sm { --dk-bar: 52px; }
.dk--sm .dk__counter { height: 34px; padding: 0 10px 0 4px; font-size: 13px; }
.dk--sm .dk__bar { gap: 0; padding-inline: 6px; }
.dk--sm .dk__bar-group { gap: 4px; }
.dk--sm .dk__hide-sm { display: none !important; }

/* Cok dar: yakinlastirma cift dokunus / iki parmakla yapilir */
.dk--xs .dk__hide-xs { display: none !important; }

/* ana sayfa / geri donus dugmesi */
.dk__home {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 220px;
  height: 38px;
  margin-right: 6px;
  padding: 0 12px 0 9px;
  border-right: 1px solid var(--dk-line);
  border-radius: 8px 0 0 8px;
  color: var(--dk-fg);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease;
}

.dk__home:hover { background: var(--dk-hover); color: var(--dk-fg); }
.dk__home svg { flex: none; width: 18px; height: 18px; }
.dk__home span { overflow: hidden; text-overflow: ellipsis; }
.dk--md .dk__home span { display: none; }
.dk--md .dk__home { padding: 0 9px; }

/* ipucu balonu */
.dk__btn[data-tip] { position: relative; }

.dk__btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--dk-chrome-solid);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  color: var(--dk-fg);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  pointer-events: none;
}

.dk__btn[data-tip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (hover: none) { .dk__btn[data-tip]::after { display: none; } }

/* ---------------------------------------------------------------- panel -- */

.dk__panel {
  position: absolute;
  top: 0;
  bottom: calc(var(--dk-bar) + env(safe-area-inset-bottom, 0px));
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 292px;
  max-width: 84vw;
  background: var(--dk-chrome-solid);
  border-right: 1px solid var(--dk-line);
  box-shadow: 10px 0 34px rgba(0, 0, 0, 0.34);
  transform: translateX(-102%);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dk__panel.is-open { transform: none; }

.dk__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 12px 14px;
  border-bottom: 1px solid var(--dk-line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dk__panel-head .dk__btn { margin-left: auto; width: 32px; height: 32px; }
.dk__panel-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }

.dk__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dk__thumb {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dk-fg-dim);
  cursor: pointer;
  text-align: center;
}

.dk__thumb img {
  display: block;
  width: 100%;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.36);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 140ms ease, transform 140ms ease;
}

.dk__thumb:hover img { transform: translateY(-2px); }
.dk__thumb.is-current img { outline-color: var(--dk-accent); }
.dk__thumb.is-current { color: var(--dk-accent); }
.dk__thumb span { display: block; padding-top: 5px; font-size: 11px; font-variant-numeric: tabular-nums; }

/* icindekiler */
.dk__toc { list-style: none; margin: 0; padding: 0; }

.dk__toc button {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dk-fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dk__toc button:hover { background: var(--dk-hover); }
.dk__toc button.is-current { background: var(--dk-hover); color: var(--dk-accent); }
.dk__toc-title { flex: 1 1 auto; }
.dk__toc-page { color: var(--dk-fg-dim); font-variant-numeric: tabular-nums; }
.dk__toc li[data-level="2"] button { padding-left: 24px; font-size: 13px; }
.dk__toc li[data-level="3"] button { padding-left: 38px; font-size: 13px; }

/* arama */
.dk__search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 10px;
  padding: 0 10px;
  border: 1px solid var(--dk-line);
  border-radius: 8px;
  background: var(--dk-bg-2);
}

.dk__search-field svg { width: 16px; height: 16px; color: var(--dk-fg-dim); flex: none; }

.dk__search-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--dk-fg);
  font: inherit;
}

.dk__search-field input:focus { outline: none; }
.dk__search-field input::placeholder { color: var(--dk-fg-dim); }

.dk__results { list-style: none; margin: 0; padding: 0; }

.dk__results button {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dk-fg-dim);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dk__results button:hover { background: var(--dk-hover); }
.dk__results mark { background: rgba(199, 161, 90, 0.34); color: var(--dk-fg); border-radius: 2px; }
.dk__result-page { display: block; margin-bottom: 3px; color: var(--dk-accent); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dk__empty { padding: 18px 12px; color: var(--dk-fg-dim); text-align: center; }

/* ---------------------------------------------------------------- paylas -- */

.dk__sheet {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 16, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.dk__sheet[hidden] { display: none !important; }

.dk__sheet-card {
  width: min(430px, 100%);
  padding: 20px;
  border: 1px solid var(--dk-line);
  border-radius: 14px;
  background: var(--dk-chrome-solid);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.dk__sheet-card h3 { margin: 0 0 14px; font-size: 15px; }

.dk__share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.dk__share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--dk-line);
  border-radius: 8px;
  background: var(--dk-bg-2);
  color: var(--dk-fg);
  font: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.dk__share-btn:hover { background: var(--dk-hover); }
.dk__share-btn svg { width: 16px; height: 16px; }

.dk__copy { display: flex; gap: 8px; }

.dk__copy input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--dk-line);
  border-radius: 8px;
  background: var(--dk-bg-2);
  color: var(--dk-fg-dim);
  font: inherit;
  font-size: 12px;
}

.dk__copy button {
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--dk-accent);
  color: #14202f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dk__sheet-close { margin-top: 14px; }

.dk__sheet-close button {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--dk-line);
  border-radius: 8px;
  background: transparent;
  color: var(--dk-fg-dim);
  font: inherit;
  cursor: pointer;
}

/* kisayol listesi */
.dk__keys { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.dk__keys li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--dk-line); color: var(--dk-fg-dim); }
.dk__keys li:last-child { border-bottom: 0; }
.dk__keys kbd {
  padding: 2px 7px;
  border: 1px solid var(--dk-line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--dk-bg-2);
  color: var(--dk-fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

/* --------------------------------------------------------------- yukleme -- */

.dk__loader {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: var(--dk-bg);
  transition: opacity 340ms ease, visibility 340ms;
}

.dk__loader[hidden] { display: grid !important; opacity: 0; visibility: hidden; pointer-events: none; }

.dk__loader-book {
  position: relative;
  width: 58px;
  height: 44px;
  border-radius: 3px;
  background: var(--dk-accent);
  opacity: 0.9;
}

.dk__loader-book::before,
.dk__loader-book::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--dk-fg);
  transform-origin: left center;
  animation: dk-page 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.dk__loader-book::after { animation-delay: 0.45s; }

@keyframes dk-page {
  0%   { transform: rotateY(0deg);   opacity: 1; }
  55%  { transform: rotateY(-180deg); opacity: 1; }
  100% { transform: rotateY(-180deg); opacity: 0; }
}

.dk__loader-text { color: var(--dk-fg-dim); font-size: 13px; letter-spacing: 0.04em; }

.dk__progress {
  width: 190px;
  height: 3px;
  border-radius: 3px;
  background: var(--dk-hover);
  overflow: hidden;
}

.dk__progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--dk-accent);
  transition: width 220ms ease;
}

/* ------------------------------------------------------------ erisilebil. -- */

.dk__sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .dk__viewport,
  .dk__panel,
  .dk__nav,
  .dk__btn { transition-duration: 1ms !important; }
  .dk__loader-book::before,
  .dk__loader-book::after { animation-duration: 3s; }
}

/* ========================================================= tema korumasi ==
 * WordPress temalari button / input / a etiketlerine genis kapsamli stiller
 * uygular (dolgu, iç bosluk, min-height, border-radius, text-transform...).
 * Viewer'in kontrolleri bunlardan etkilenmesin diye once sifirlanir, sonra
 * daha yuksek ozgullukle (.dk.dk ...) ve !important ile yeniden tanimlanir.
 * ------------------------------------------------------------------------ */

.dk.dk button,
.dk.dk input,
.dk.dk a {
  -webkit-appearance: none !important;
  appearance: none !important;
  float: none !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline-offset: 2px;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-align: inherit;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: nowrap;
  vertical-align: middle !important;
}

.dk.dk button svg,
.dk.dk a svg {
  display: block !important;
  flex: none !important;
  margin: 0 !important;
  pointer-events: none;
}

/* --- yuvarlak kontrol dugmeleri (arac cubugu + panel) --- */
.dk.dk .dk__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--dk-brand) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  line-height: 0 !important;
}

.dk.dk .dk__btn svg { width: 18px !important; height: 18px !important; }

.dk.dk .dk__btn:hover,
.dk.dk .dk__btn:focus-visible {
  background: var(--dk-brand) linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) !important;
  color: #fff !important;
}

.dk.dk .dk__btn.is-active,
.dk.dk .dk__btn.is-active:hover {
  background: var(--dk-accent) !important;
  color: var(--dk-brand) !important;
}

.dk.dk .dk__btn[disabled],
.dk.dk .dk__btn[disabled]:hover {
  background: var(--dk-brand) !important;
  color: #fff !important;
  opacity: 0.38;
}

.dk.dk.dk--sm .dk__btn { width: 34px !important; height: 34px !important; }
.dk.dk.dk--sm .dk__btn svg { width: 16px !important; height: 16px !important; }

.dk.dk .dk__panel-head .dk__btn { width: 32px !important; height: 32px !important; margin-left: auto !important; }

/* --- buyuk yan oklar --- */
.dk.dk .dk__nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  margin: -24px 0 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--dk-brand) !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 0, 0, 0.35) !important;
  line-height: 0 !important;
}

.dk.dk .dk__nav svg { width: 22px !important; height: 22px !important; }

.dk.dk .dk__nav:hover,
.dk.dk .dk__nav:focus-visible {
  background: var(--dk-brand) linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)) !important;
}

.dk.dk.dk--sm .dk__nav { width: 38px !important; height: 38px !important; margin-top: -19px !important; }
.dk.dk.dk--sm .dk__nav svg { width: 18px !important; height: 18px !important; }

/* --- sayfa numarasi --- */
.dk.dk .dk__counter input {
  display: block !important;
  width: 3.4em !important;
  height: 28px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--dk-fg) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  text-align: center !important;
  -moz-appearance: textfield !important;
}

.dk.dk .dk__counter input:focus { outline: none !important; color: var(--dk-accent) !important; }
.dk.dk.dk--sm .dk__counter input { width: 3em !important; font-size: 13px !important; }

/* --- ana sayfa dugmesi --- */
.dk.dk .dk__home {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  height: 38px !important;
  margin-right: 8px !important;
  padding: 0 14px 0 4px !important;
  border-right: 1px solid var(--dk-line) !important;
  color: var(--dk-fg) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.dk.dk .dk__home svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 11px;
  border-radius: 50%;
  background: var(--dk-brand);
  color: #fff;
}

.dk.dk .dk__home:hover svg { background: var(--dk-brand) linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)); }
.dk.dk.dk--md .dk__home { padding: 0 10px 0 0 !important; }

/* --- panel ogeleri --- */
.dk.dk .dk__thumb {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  color: var(--dk-fg-dim) !important;
  font-size: 11px !important;
  text-align: center !important;
  white-space: normal;
}

.dk.dk .dk__thumb.is-current { color: var(--dk-accent) !important; }

.dk.dk .dk__toc button,
.dk.dk .dk__results button {
  display: flex !important;
  width: 100% !important;
  padding: 9px 10px !important;
  border-radius: 8px !important;
  color: var(--dk-fg) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: normal;
}

.dk.dk .dk__results button { display: block !important; padding: 10px !important; color: var(--dk-fg-dim) !important; font-size: 13px !important; }

.dk.dk .dk__toc button:hover,
.dk.dk .dk__results button:hover,
.dk.dk .dk__toc button.is-current { background: var(--dk-hover) !important; }

.dk.dk .dk__toc button.is-current { color: var(--dk-accent) !important; }

.dk.dk .dk__search-field input {
  flex: 1 1 auto;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--dk-fg) !important;
  font-size: 14px !important;
}

.dk.dk .dk__search-field input:focus { outline: none !important; }

/* --- paylas / kisayol penceresi --- */
.dk.dk .dk__sheet-card h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--dk-fg) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.dk.dk .dk__share-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px;
  padding: 9px 13px !important;
  border: 1px solid var(--dk-line) !important;
  border-radius: 999px !important;
  background: var(--dk-bg-2) !important;
  color: var(--dk-fg) !important;
  font-size: 13px !important;
}

.dk.dk .dk__share-btn:hover { background: var(--dk-brand) !important; color: #fff !important; }

.dk.dk .dk__copy input {
  flex: 1 1 auto;
  height: 40px !important;
  padding: 0 12px !important;
  border: 1px solid var(--dk-line) !important;
  border-radius: 999px !important;
  background: var(--dk-bg-2) !important;
  color: var(--dk-fg-dim) !important;
  font-size: 12px !important;
}

.dk.dk .dk__copy button {
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: var(--dk-brand) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.dk.dk .dk__sheet-close button {
  display: block !important;
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid var(--dk-line) !important;
  border-radius: 999px !important;
  color: var(--dk-fg-dim) !important;
  font-size: 13px !important;
  text-align: center !important;
  cursor: pointer;
}

.dk.dk .dk__hotspot {
  position: absolute !important;
  border-radius: 3px !important;
  background: rgba(199, 161, 90, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(199, 161, 90, 0.5) !important;
}

.dk.dk ul,
.dk.dk li { margin: 0; padding: 0; list-style: none !important; }
.dk.dk li::before,
.dk.dk li::marker { content: none !important; }

.dk.dk img {
  max-width: none;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.dk.dk .dk__thumb img {
  width: 100% !important;
  height: auto !important;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.36);
}

.dk.dk .dk__page-img { width: 100% !important; height: 100% !important; max-width: none !important; }

/* gizleme kurallari yukaridaki display tanimlarindan sonra gelmeli */
.dk.dk .dk__off,
.dk.dk.dk--sm .dk__hide-sm,
.dk.dk.dk--xs .dk__hide-xs { display: none !important; }

/* ---------------------------------------------------------------- baski -- */

.dk__print { display: none; }

@media print {
  .dk__bar, .dk__panel, .dk__nav, .dk__loader, .dk__sheet, .dk__stage { display: none !important; }
  .dk { min-height: 0; background: #fff; }
  .dk__print { display: block; }
  .dk__print img {
    display: block;
    width: 100%;
    page-break-after: always;
    break-after: page;
  }
}
