/* Sunumlar — tuval görünümü (MindMap maps.css üstüne; kabuk / menü / iletişim kutusu / panel sınıfları oradan).
   Tema değişkenleri DeckView.setTheme ile .dk-viewport üzerinde; --inv = 1 / ölçek (tutamaç ve kenar kalınlığı ekranda sabit). */
.dk-viewport {
  position: relative; width: 100%; height: 100%; overflow: hidden; outline: none;
  background: var(--bg); color: var(--text); font-family: var(--font); touch-action: none; user-select: none; cursor: grab;
}
.dk-viewport.dk-creating { cursor: crosshair; }
.dk-viewport.dk-dragging { cursor: grabbing; }
.dk-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
/* will-change yalnız kamera oynarken: kalıcı olursa Chromium büyük tuvali eski ölçekte döşer, uzaklaştırınca bölümler boş kalır */
.dk-world.dk-moving { will-change: transform; }
.dk-item { position: absolute; cursor: default; }
.dk-presenting .dk-item { cursor: inherit; }

/* Çerçeve: dikdörtgen / daire görünür, "görünmez" yalnız düzenlerken kesik çizgi */
.dk-frame { border: calc(2px * var(--inv, 1)) solid var(--stroke, var(--frame)); border-radius: var(--radius); background: var(--fill, transparent); }
.dk-frame-circle { border-radius: 50%; }
.dk-frame-none { border-style: dashed; border-color: color-mix(in srgb, var(--frame) 70%, transparent); background: var(--fill, transparent); }
.dk-presenting .dk-frame-none { border-color: transparent; }
.dk-frame-title {
  position: absolute; left: 0; bottom: 100%; margin-bottom: calc(4px * var(--inv, 1)); box-sizing: border-box;
  max-width: max(100%, calc(48px * var(--inv, 1))); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: calc(2px * var(--inv, 1)) calc(8px * var(--inv, 1)); border: calc(1.5px * var(--inv, 1)) solid #94a3b8; border-radius: calc(6px * var(--inv, 1));
  background: #fff; color: #334155; font: 500 calc(12px * var(--inv, 1)) / 1.25 "Segoe UI", system-ui, sans-serif; pointer-events: auto; cursor: pointer;
}
.dk-frame-title:hover, .dk-selected > .dk-frame-title { border-color: var(--select); color: var(--select); }
.dk-presenting .dk-frame-title { display: none; }
.dk-far .dk-nested > .dk-frame-title { display: none; }

/* Metin */
.dk-text-body { width: 100%; height: 100%; overflow: visible; line-height: 1.25; outline: none; overflow-wrap: anywhere; cursor: text; }
.dk-text-body p, .dk-text-body h1, .dk-text-body h2, .dk-text-body li { margin: 0 0 .25em; }
.dk-text-body h1 { font-family: var(--display); font-size: 1.8em; font-weight: 700; line-height: 1.1; }
.dk-text-body h2 { font-family: var(--display); font-size: 1.35em; font-weight: 600; }
.dk-text-body ul { margin: 0 0 .25em; padding-left: 1.2em; }
.dk-editing { outline: calc(2px * var(--inv, 1)) solid var(--select); outline-offset: calc(2px * var(--inv, 1)); user-select: text; }
.dk-editing .dk-text-body { user-select: text; cursor: text; }

/* Resim / video / şekil / ok */
.dk-image img { width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; } /* contain render.js'te (containBox): WebKit büyük öğede contain'i dar çiziyor */
.dk-video iframe, .dk-video video { width: 100%; height: 100%; border: 0; display: block; background: #000; border-radius: calc(var(--radius) / 2); }
.dk-shield { position: absolute; inset: 0; }
.dk-presenting .dk-shield { display: none; }
.dk-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 32px; color: var(--muted); border: 1px dashed var(--muted); border-radius: 8px; }
.dk-shape svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dk-arrow { pointer-events: none; }
.dk-arrow-svg { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.dk-arrow-hit { pointer-events: stroke; cursor: pointer; }

/* Seçim, tutamaçlar, kılavuz, kutu seçimi, hayalet */
.dk-overlay { position: absolute; left: 0; top: 0; z-index: 100000; pointer-events: none; }
.dk-sel { position: absolute; outline: calc(2px * var(--inv, 1)) solid var(--select); pointer-events: none; }
.dk-selected.dk-frame { box-shadow: 0 0 0 calc(1px * var(--inv, 1)) var(--select); }
.dk-handle {
  position: absolute; width: calc(10px * var(--inv, 1)); height: calc(10px * var(--inv, 1)); background: #fff;
  border: calc(2px * var(--inv, 1)) solid var(--select); border-radius: 2px; transform: translate(-50%, -50%); pointer-events: auto;
}
.dk-h-nw { left: 0; top: 0; cursor: nwse-resize; } .dk-h-n { left: 50%; top: 0; cursor: ns-resize; } .dk-h-ne { left: 100%; top: 0; cursor: nesw-resize; }
.dk-h-e { left: 100%; top: 50%; cursor: ew-resize; } .dk-h-se { left: 100%; top: 100%; cursor: nwse-resize; } .dk-h-s { left: 50%; top: 100%; cursor: ns-resize; }
.dk-h-sw { left: 0; top: 100%; cursor: nesw-resize; } .dk-h-w { left: 0; top: 50%; cursor: ew-resize; }
.dk-h-end { border-radius: 50%; cursor: crosshair; }
.dk-guide { position: absolute; background: #ec4899; pointer-events: none; }
.dk-guide-v { width: calc(1px * var(--inv, 1)); height: 8000px; }
.dk-guide-h { height: calc(1px * var(--inv, 1)); width: 8000px; }
.dk-marquee { position: absolute; border: calc(1px * var(--inv, 1)) dashed var(--select); background: color-mix(in srgb, var(--select) 10%, transparent); }
.dk-ghost { position: absolute; border: calc(2px * var(--inv, 1)) dashed var(--select); }
.dk-ghost-line { position: absolute; height: calc(3px * var(--inv, 1)); background: var(--select); transform-origin: 0 50%; }
.dk-who { position: absolute; right: 0; bottom: 100%; color: #fff; font-size: calc(11px * var(--inv, 1)); padding: 0 calc(4px * var(--inv, 1)); border-radius: 3px; white-space: nowrap; }

/* Araç çubuğu (solda dikey) ve panel */
.dk-tools {
  position: absolute; left: 12px; top: 12px; max-height: calc(100% - 150px); overflow-y: auto; z-index: 20; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 6px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.dk-tool { flex: none; width: 36px; height: 34px; border: 0; border-radius: 8px; background: transparent; font-size: 16px; cursor: pointer; color: #1f2937; }
.dk-tool:hover { background: #f1f5f9; }
.dk-tool.active { background: #dbeafe; color: #1d4ed8; }
.dk-swatches { display: flex; flex-wrap: wrap; gap: 4px; }
.dk-swatches .mm-swatch { border: 1px solid #d1d5db; }
.dk-swatches .mm-swatch.active { outline: 2px solid #2563eb; }
.mm-presenting .dk-tools, .dk-presenting ~ .dk-tools { display: none !important; }

/* Liste: şablon seçici */
.dk-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.dk-template { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; background: #fff; cursor: pointer; text-align: left; }
.dk-template:hover, .dk-template.active { border-color: #2563eb; box-shadow: 0 0 0 2px #bfdbfe; }
.dk-template svg { width: 100%; height: 90px; display: block; border-radius: 6px; }
.dk-template span { display: block; margin-top: 6px; font-weight: 600; }

/* Tablo, grafik, gömülü MindMap, iletişim kutusunda metin alanı */
.dk-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--text); }
.dk-table th, .dk-table td { border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent); padding: .25em .4em; text-align: left; overflow: hidden; text-overflow: ellipsis; }
.dk-table th { background: color-mix(in srgb, var(--select) 12%, transparent); font-weight: 600; }
.dk-chart { width: 100%; height: 100%; display: block; overflow: visible; font-family: var(--font); }
.dk-mindmap svg { width: 100%; height: 100%; display: block; border-radius: 8px; }
.dk-map-missing { font-size: 14px; padding: 12px; text-align: center; }
.dk-textarea { width: 100%; min-width: 420px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.dk-web iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; border-radius: 6px; }
.dk-note-card { width: 100%; height: 100%; overflow: hidden; padding: .7em .8em; border-radius: 10px; background: var(--fill, #fef3c7); color: #1f2937;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12); line-height: 1.3; }
.dk-note-title { font-weight: 700; margin-bottom: .3em; overflow-wrap: anywhere; }
.dk-note-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.dk-pdf-dialog { width: min(640px, 92vw); }
.dk-pdf-list { max-height: 46vh; overflow: auto; border: 1px solid #e5e7eb; border-radius: 8px; margin: 8px 0; }
.dk-pdf-row { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-bottom: 1px solid #f1f5f9; cursor: pointer; }
.dk-pdf-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-sel-group { outline-style: dashed; }
.dk-pdf-merge { margin-left: auto; border: 1px solid #d1d5db; background: #fff; border-radius: 6px; padding: 0 6px; cursor: pointer; }
.dk-pdf-row.merged { opacity: .6; }
.dk-pdf-row.merged .dk-pdf-merge { background: #dbeafe; border-color: #2563eb; }
.dk-map-copy { position: absolute; right: 6px; top: 6px; font-size: 11px; background: rgba(0, 0, 0, .55); color: #fff; padding: 1px 6px; border-radius: 4px; pointer-events: none; }

/* Konuşmacı notu (sağ panel) + konuşmacı penceresi (presenter.html) */
.dk-speaker-notes { width: 100%; resize: vertical; font: inherit; }
.mm-present-bar .mm-present-speaker { font-size: 12px; }
.dk-speaker-page { margin: 0; background: #0f172a; color: #e2e8f0; font-family: "Segoe UI", system-ui, sans-serif; }
#speaker, .dk-speaker { display: grid; grid-template-rows: auto 1fr auto auto; height: 100vh; box-sizing: border-box; padding: 16px 20px; gap: 14px; }
.dk-speaker-head { display: flex; align-items: center; gap: 16px; }
.dk-speaker-title { flex: 1; font-size: 14px; color: #94a3b8; font-weight: 600; }
.dk-speaker-count { font-size: 16px; color: #cbd5e1; }
.dk-speaker-clock { font-size: 28px; font-variant-numeric: tabular-nums; font-weight: 600; }
.dk-speaker-current { overflow: auto; background: #1e293b; border-radius: 12px; padding: 18px 22px; }
.dk-speaker-label { margin: 0 0 12px; font-size: 26px; }
.dk-speaker-notes-view { font-size: 22px; line-height: 1.5; white-space: pre-wrap; }
.dk-speaker-notes-view.empty { color: #64748b; font-size: 16px; }
.dk-speaker-next { background: #1e293b; border-radius: 12px; padding: 10px 16px; }
.dk-speaker-caption { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.dk-speaker-next-label { font-size: 18px; margin-top: 4px; }
.dk-speaker-bar { display: flex; gap: 10px; justify-content: flex-end; }
.dk-speaker-bar button { font-size: 16px; padding: 8px 18px; }
.dk-speaker.ended .dk-speaker-clock { color: #64748b; }

/* Girişsiz izleyici (/p/{bağlantı}) */
/* telefonda 100vh adres çubuğunun arkasına taşar (slaytın altı kesilir): görünen yükseklik 100dvh */
.dk-viewer-page { margin: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #0f172a; font-family: "Segoe UI", system-ui, sans-serif; }
.dk-viewer-page #app { height: 100vh; height: 100dvh; }
.dk-viewer { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.dk-viewer .mm-stage { flex: 1; position: relative; }
.dk-viewer-bar { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; z-index: 30;
  background: rgba(15, 23, 42, .78); color: #e2e8f0; border-radius: 10px; padding: 6px 10px; opacity: .35; transition: opacity .2s; }
.dk-viewer-bar:hover { opacity: 1; }
.dk-viewer-bar button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.dk-viewer-bar button.active { background: rgba(255, 255, 255, .18); }
.dk-viewer-title { margin-right: 6px; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-viewer-state { font-size: 12px; color: #94a3b8; }
/* TV kipi (?tv=1): çubuk ve döndürme önerisi yok, imleç gizli */
.dk-tv-send .dk-tv-addr { font-size: 20px; font-weight: 700; padding: 8px 12px; border-radius: 8px; background: rgba(56, 189, 248, .12); color: inherit; user-select: all; margin: 4px 0 8px; }
.dk-tv-send .dk-tv-input { font-size: 30px; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; width: 100%; box-sizing: border-box; padding: 10px; }
.dk-tv .dk-viewer-bar, .dk-tv .dk-rotate-hint, .dk-tv .mm-present-bar { display: none !important; }
.dk-tv { cursor: none; }
/* TV ekranı (/tv): büyük kod, sakin koyu zemin, hareket yok */
.dk-tv-page { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 35%, #1e293b 0%, #0b1220 70%); color: #e2e8f0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif; display: flex; align-items: center; justify-content: center; }
.dk-tv-box { text-align: center; padding: 4vh 6vw; max-width: 90vw; }
.dk-tv-brand { font-size: clamp(16px, 2.4vw, 34px); font-weight: 600; color: #94a3b8; letter-spacing: .04em; margin-bottom: 4vh; }
.dk-tv-lead { font-size: clamp(16px, 2.2vw, 32px); line-height: 1.4; color: #cbd5e1; max-width: 60ch; margin: 0 auto 4vh; }
.dk-tv-code { font-size: clamp(56px, 13vw, 220px); font-weight: 800; letter-spacing: .12em; color: #fff; font-variant-numeric: tabular-nums;
  font-family: "Segoe UI", "Consolas", ui-monospace, monospace; text-shadow: 0 0 40px rgba(56, 189, 248, .25); margin-bottom: 3vh; white-space: nowrap; }
.dk-tv-state { font-size: clamp(14px, 1.8vw, 26px); color: #7dd3fc; min-height: 1.4em; margin-bottom: 6vh; }
.dk-tv-foot { font-size: clamp(12px, 1.4vw, 20px); color: #64748b; margin-top: 1vh; }
.dk-viewer-state.live::first-letter { color: #f87171; }
.dk-viewer-bar button[hidden] { display: none; }
.dk-viewer-msg { color: #e2e8f0; font-size: 20px; text-align: center; padding-top: 30vh; }
.dk-viewer-msg.error { color: #fca5a5; }
.dk-viewer-pass { max-width: 360px; margin: 22vh auto 0; display: flex; flex-direction: column; gap: 10px; color: #e2e8f0; }
.dk-viewer-pass h2 { margin: 0 0 6px; font-weight: 600; }
.dk-viewer-pass input { font-size: 16px; padding: 8px 10px; }
.dk-viewer-pass-msg { color: #fca5a5; min-height: 1.2em; }
/* Bağlantıyla paylaş ekranı */
.dk-links { width: min(640px, 94vw); }
.dk-link-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.dk-link-row input { flex: 1; min-width: 0; font-size: 12px; }
.dk-link-info { color: #6b7280; font-size: 12px; margin: -2px 0 8px; }
.dk-link-new { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dk-link-new input { flex: 1; min-width: 140px; }

/* Kumanda (aynı kullanıcının öteki cihazı) */
.dk-remote-overlay { position: fixed; inset: 0; z-index: 60; background: #0f172a; color: #e2e8f0; font-family: "Segoe UI", system-ui, sans-serif; }
.dk-remote-panel { height: 100%; }
.dk-remote-panel.dk-speaker { height: 100%; }
.dk-speaker-close { margin-left: 8px; }
@media (max-width: 640px) {
  .dk-speaker { padding: 12px; gap: 10px; }
  .dk-speaker-label { font-size: 20px; }
  .dk-speaker-notes-view { font-size: 18px; }
  .dk-speaker-bar button { flex: 1; font-size: 20px; padding: 14px; }
}
/* Kırpılmış resim (2026-11-22): kutu görünen bölge */
.dk-image.dk-cropped { overflow: hidden; }
.dk-image.dk-cropped img { position: absolute; }

/* Bölüm, arka plan, köşe logosu (2026-11-22) */
.dk-section { pointer-events: none; border-style: dashed; border-color: color-mix(in srgb, var(--select) 60%, transparent); }
.dk-section > .dk-frame-title { pointer-events: auto; background: #1d4ed8; border-color: #1d4ed8; color: #fff; font-weight: 700; font-size: calc(13px * var(--inv, 1)); max-width: max(100%, calc(90px * var(--inv, 1))); }
.dk-section > .dk-frame-title:hover, .dk-section.dk-selected > .dk-frame-title { background: #1e3a8a; border-color: #93c5fd; color: #fff; }
.dk-presenting .dk-section { border-color: transparent; }
.dk-tiny .dk-frame:not(.dk-section) > .dk-frame-title { width: 100%; max-width: 100%; height: calc(6px * var(--inv, 1)); margin-bottom: calc(1px * var(--inv, 1)); padding: 0;
  font-size: 0; border-radius: calc(3px * var(--inv, 1)); background: #94a3b8; }
.dk-tiny .dk-frame:not(.dk-section) > .dk-frame-title:hover, .dk-tiny .dk-frame.dk-selected:not(.dk-section) > .dk-frame-title { background: var(--select); }
.dk-dust .dk-frame:not(.dk-section) > .dk-frame-title { display: none; }
.dk-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dk-backdrop[hidden], .dk-cover[hidden] { display: none; }
.dk-cover { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 6%; box-sizing: border-box; text-align: center; overflow-wrap: anywhere;
  font: 800 min(8vw, 14vh) / 1.1 var(--display); pointer-events: none; }
.dk-item.dk-off { visibility: hidden; }
.dk-item.dk-off * { visibility: hidden; }
.dk-item.dk-on-stage { background-image: none !important; border-color: transparent !important; }
.dk-repair { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 25; display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  width: min(760px, calc(100% - 130px)); box-sizing: border-box; padding: 10px 14px; background: #fffbeb; color: #78350f; border: 1px solid #f59e0b; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.dk-repair[hidden], .mm-presenting .dk-repair { display: none; }
.dk-repair span { flex: 1; min-width: 260px; }
.dk-menu { max-height: calc(100vh - 8px); overflow-y: auto; }
.dk-chip-sec { flex: none; max-width: 160px; align-self: stretch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 8px;
  border: 1px solid #1d4ed8; border-radius: 8px; background: #dbeafe; color: #1e3a8a; font-size: 12px; font-weight: 700; cursor: pointer; }
.dk-slide-tools { display: flex; flex-direction: column; gap: 4px; }
.dk-tool-dialog { width: min(560px, 94vw); max-height: 94vh; box-sizing: border-box; overflow: auto; }
.dk-tool-body { display: flex; flex-direction: column; gap: 8px; }
.dk-pick { max-height: 30vh; margin: 0; }
.dk-pick[hidden] { display: none; }
.dk-check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.dk-check input { width: auto; flex: none; margin: 0; }
.dk-bg-dialog { width: min(760px, 94vw); }
.dk-bg-preview { flex: none; display: block; align-self: center; width: 320px; height: 180px; border-radius: 8px; background: #f1f5f9; }
.dk-bg-preview[hidden] { display: none; }
.dk-bg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 6px; }
.dk-bg-tile { display: flex; flex-direction: column; gap: 3px; padding: 4px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font-size: 11px; cursor: pointer; }
.dk-bg-tile canvas, .dk-bg-blank { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border-radius: 5px; }
.dk-bg-blank { display: grid; place-items: center; background: #f1f5f9; font-size: 20px; }
.dk-bg-tile.on, .dk-bg-color.on { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb; }
.dk-bg-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-bg-color { border: 1px solid #d1d5db; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.dk-margin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dk-margin-grid input { width: 100%; box-sizing: border-box; }
.dk-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.dk-pdf-options { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.dk-pdf-option { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dk-pdf-section-name { flex: 1; min-width: 180px; }
.dk-pdf-size { margin-left: auto; width: auto; }
.dk-pdf-crop-info { color: #1d4ed8; font-size: 12px; }

/* Şerit boşluğu + resim girişi (2026-11-23) */
.dk-gap { flex: none; align-self: stretch; width: 12px; min-height: 26px; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 4px; position: relative; }
.dk-gap::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); background: #cbd5e1; border-radius: 1px; opacity: 0; }
.dk-gap:hover::before, .dk-gap:focus-visible::before { opacity: 1; background: #2563eb; }
.dk-gap:hover { background: #eff6ff; }
.dk-gap.over { background: #bfdbfe; }
.dk-gap.on { width: auto; padding: 0 6px; background: #dbeafe; outline: 2px solid #2563eb; }
.dk-gap.on::before { display: none; }
.dk-gap-act { white-space: nowrap; font-size: 12px; padding: 2px 7px; border-radius: 5px; background: #fff; color: #1d4ed8; border: 1px solid #93c5fd; }
.dk-gap-act:hover { background: #2563eb; color: #fff; }
.dk-gap-act.off { opacity: .45; pointer-events: none; }
.dk-imgzone { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px; border: 2px dashed #cbd5e1; border-radius: 10px; background: #f8fafc; outline: none; }
.dk-imgzone:focus, .dk-imgzone.over { border-color: #2563eb; background: #eff6ff; }
.dk-imgzone.has { border-style: solid; border-color: #16a34a; }
.dk-imgzone-hint { color: #475569; font-size: 13px; }
.dk-imgpick { width: min(480px, 94vw); }

/* Kilit (2026-11-23) */
.dk-sel-locked { outline-style: dashed; }
.dk-lock-badge { position: absolute; right: 0; top: 0; transform: translate(50%, -50%); font-size: calc(14px * var(--inv, 1)); line-height: 1;
  background: #fff; border: calc(1px * var(--inv, 1)) solid var(--select); border-radius: calc(4px * var(--inv, 1)); padding: calc(2px * var(--inv, 1)); }

/* Renk seçici, yazı stili, slayt bağlantısı, gizli slayt (2026-11-23) */
.dk-color { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; cursor: pointer; min-width: 0; }
.dk-color.on { border-color: #2563eb; box-shadow: 0 0 0 2px #bfdbfe; }
.dk-color-chip { width: 22px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .2); flex: none; }
.dk-color-chip.none { background: repeating-linear-gradient(45deg, #fff 0 4px, #e5e7eb 4px 8px); }
.dk-color-code { font: 12px ui-monospace, Consolas, monospace; color: #374151; }
.dk-color-pop { position: fixed; z-index: 3000; width: 252px; padding: 10px; background: #fff; color: #1f2937; border: 1px solid #e5e7eb; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.dk-color-cap { color: #6b7280; }
.dk-color-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.dk-color-sw { width: 100%; aspect-ratio: 1; border-radius: 5px; border: 1px solid rgba(0, 0, 0, .15); padding: 0; cursor: pointer; }
.dk-color-sw:hover, .dk-color-sw.on { outline: 2px solid #2563eb; outline-offset: 1px; }
.dk-color-row { display: flex; gap: 5px; align-items: center; }
.dk-color-hex { width: 78px; min-width: 0; font: 12px ui-monospace, Consolas, monospace; padding: 4px 6px; border: 1px solid #d1d5db; border-radius: 6px; }
.dk-color-native { width: 34px; height: 28px; padding: 0; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; cursor: pointer; }
.dk-color-drop { padding: 3px 7px; }
.dk-color-none { align-self: flex-start; }
.dk-deck-bg { display: inline-flex; margin-left: 6px; }
.dk-deck-bg .dk-color-code { display: none; }
.dk-text-fx { display: flex; gap: 4px; }
.dk-fx { width: 32px; font-weight: 700; }
.dk-fx.on { background: #dbeafe; border-color: #2563eb; color: #1d4ed8; }
.dk-has-link:not(.dk-frame)::after { content: "↗"; position: absolute; right: calc(-6px * var(--inv, 1)); top: calc(-6px * var(--inv, 1)); font-size: calc(11px * var(--inv, 1));
  line-height: 1; padding: calc(2px * var(--inv, 1)); border-radius: 50%; background: #2563eb; color: #fff; pointer-events: none; }
.dk-presenting .dk-has-link { cursor: pointer; }
.dk-presenting .dk-has-link::after { display: none; }
.dk-presenting .dk-has-link:hover { filter: brightness(1.08); }
.dk-hidden-slide { opacity: .6; border-style: dashed; }
.dk-hidden-slide > .dk-frame-title { color: #9ca3af; text-decoration: line-through; }

/* İzleyici tam ekran + "yan çevirin" (2026-11-23) */
.dk-viewer-full { white-space: nowrap; }
.dk-rotate-hint { position: fixed; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 31; max-width: calc(100vw - 32px); padding: 10px 14px;
  border: 0; border-radius: 999px; background: rgba(37, 99, 235, .92); color: #fff; font-size: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.dk-rotate-hint[hidden] { display: none; }
.dk-viewer.dk-full .dk-viewer-bar { opacity: 0; }
.dk-viewer.dk-full .dk-viewer-bar:hover, .dk-viewer.dk-full .dk-viewer-bar:focus-within { opacity: 1; }
@media (max-width: 640px), (max-height: 500px) {
  .dk-viewer-bar { top: max(6px, env(safe-area-inset-top)); opacity: .85; gap: 4px; padding: 4px 6px; max-width: calc(100vw - 12px); }
  .dk-viewer-title, .dk-viewer-state { display: none; }
  .dk-viewer-bar button { padding: 8px 10px; font-size: 14px; }
}
.dk-color-drop.bad { outline: 2px solid #dc2626; }
/* Sağ tık alt menüleri (2026-11-23) */
.mm-menu .dk-sub { display: none; position: absolute; left: 100%; top: -5px; min-width: 220px; flex-direction: column; max-height: none; overflow: visible; }
.mm-menu-item.has-sub:hover > .dk-sub { display: flex; }
.mm-menu .dk-sub.left { left: auto; right: 100%; }
.mm-menu .dk-sub.up { top: auto; bottom: -5px; }
.mm-menu-item.has-sub { padding-right: 26px; }

/* Telefon (2026-11-24): Sunumlar salt okunur, sade araç çubuğu; oynatıcıda kontroller gizli ("⋯" / uzun basma), dikeyde altta not */
.dk-compact .mm-toolbar .mm-theme, .dk-compact .mm-toolbar .dk-deck-bg, .dk-compact .mm-strip, .dk-compact .dk-panel { display: none !important; }
.dk-compact .mm-crumb-new { display: none; }
.dk-compact .mm-toolbar { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 6px 8px; }
.dk-compact .mm-title-input { min-width: 0; flex: 1; border-color: transparent; background: transparent; font-weight: 600; }
.dk-compact .dk-viewport { -webkit-touch-callout: none; }
.mm-present-bar.mm-bar-off { display: none; }
.dk-compact-present .mm-present-bar { opacity: 1; bottom: calc(14px + env(safe-area-inset-bottom)); }
.mm-present-more {
  position: absolute; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 21; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(17, 24, 39, .4); color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-size: 22px; line-height: 1; opacity: .55; padding: 0;
}
.mm-present-more:hover:not(:disabled), .mm-present-more:focus, .mm-present-more:active { background: rgba(17, 24, 39, .55); color: #fff; outline: none; }
.mm-present-more.on, .mm-present-more.on:hover:not(:disabled), .mm-present-more.on:focus { opacity: 1; background: rgba(17, 24, 39, .85); color: #fff; }
.mm-present-notes { display: none; }
.mm-present-menu { position: fixed; z-index: 60; background: #fff; border-radius: 10px; box-shadow: 0 8px 28px rgba(0, 0, 0, .3); padding: 4px; }
.mm-present-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; background: transparent; padding: 10px 14px; font-size: 15px; font-weight: 600; color: #111827; border-radius: 8px; cursor: pointer; }
.mm-present-menu button:hover { background: #eff6ff; }
.mm-present-menu small { font-weight: 400; color: #6b7280; font-size: 12px; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (orientation: portrait) {
  .dk-compact-present .mm-present-notes.on {
    display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; overflow: auto; z-index: 19; box-sizing: border-box;
    background: #0f172a; color: #e2e8f0; border-top: 1px solid #334155; padding: 14px 16px calc(70px + env(safe-area-inset-bottom));
    font: 17px/1.45 system-ui, sans-serif; white-space: pre-wrap; user-select: text;
  }
  .dk-compact-present .mm-present-notes.empty { color: #64748b; font-style: italic; }
  .dk-compact-present.dk-notes-on .dk-viewport { height: 58%; }
}
