/* Arakot Render Lab · v15 · DEMO · demo.css (V15-SOZLESME.md, brief 2 and 13)
   The host programs' windows (3ds Max, SketchUp, Corona VFB) and the
   Windows 11 file dialog, all our own drawing; the flights; the result
   forming over the canvas; the plugin's demo-only parts in manual mode
   (credits, zoom, the Viewport call); the plugin docked on a host screen
   (RenderLabHost). No green: the 3D axes are red, blue and a neutral grey.  */

:root {
  --rlh-max-bg: #3d3e40;
  --rlh-max-bg2: #333436;
  --rlh-max-bg3: #2a2b2d;
  --rlh-max-line: #232425;
  --rlh-max-ink: #dcdcdc;
  --rlh-max-ink2: #a9a9a9;
  --rlh-max-sel: #5b6f86;
  --rlh-max-vp: #e3bc4c;        /* the active viewport's edge */
  --rlh-su-bg: #ececec;
  --rlh-su-bg2: #f7f7f7;
  --rlh-su-line: #c9c9c9;
  --rlh-su-ink: #222324;
  --rlh-su-sel: #2f6db5;
  --rlh-vfb-bg: #202122;
  --rlh-vfb-acc: #e0a43c;
  --rlh-acc: #92b6dc;           /* = --sc-accent-on-dark: the plugin's own blue */
  --rlh-font: "Segoe UI Variable Text", "Segoe UI", var(--sc-font-text, system-ui), sans-serif;
}

/* ------------------------------------------------------------ layers -- */
.rlh-kat { position: fixed; inset: 0; z-index: 160; pointer-events: none; }
.rlh-kat .rlh-app { pointer-events: none; }
.rlh-fly {
  position: absolute; z-index: 5; display: block;
  object-fit: cover; transform-origin: 0 0; will-change: transform;
  pointer-events: none; user-select: none;
}

/* ------------------------------------------------- a host app window -- */
.rlh-app {
  position: absolute;
  display: grid; grid-template-rows: 30px 22px 30px minmax(0, 1fr) 24px 22px;
  overflow: hidden;
  background: var(--rlh-max-bg); color: var(--rlh-max-ink);
  font: 400 11.5px/1.25 var(--rlh-font);
  border: 1px solid #1b1c1d; border-radius: 8px;
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.75), 0 18px 40px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  user-select: none;
}
.rlh-ic { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; display: block; }
.rlh-tb {
  display: flex; align-items: center; gap: 8px; padding: 0 0 0 10px;
  background: #262728; border-bottom: 1px solid var(--rlh-max-line); min-width: 0;
}
.rlh-tt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #cfcfcf; font-size: 12px; }
.rlh-logo { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; font: 700 11px/1 var(--rlh-font); color: #fff; flex: 0 0 auto; }
.rlh-logo--max { background: #4f6f8f; }
.rlh-logo--su { background: #b5544c; }
.rlh-logo--c { background: #c98a35; }
.rlh-wb { display: flex; align-self: stretch; color: #cfcfcf; }
.rlh-wb > .rlh-ic, .rlh-wb__x { width: 44px; height: 100%; padding: 0 16px; box-sizing: border-box; }
.rlh-wb__x { border: 0; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rlh-wb__x .rlh-ic { width: 12px; height: 12px; }
.rlh-wb__x:hover, .rlh-wb__x:focus-visible { background: #c42b1c; color: #fff; }
.rlh-menu { display: flex; align-items: center; gap: 2px; padding: 0 6px; background: var(--rlh-max-bg2); border-bottom: 1px solid var(--rlh-max-line); white-space: nowrap; overflow: hidden; color: #d2d2d2; }
.rlh-menu span { padding: 2px 7px; border-radius: 3px; }
.rlh-tools { display: flex; align-items: center; gap: 2px; padding: 0 6px; background: var(--rlh-max-bg); border-bottom: 1px solid var(--rlh-max-line); overflow: hidden; white-space: nowrap; }
.rlh-tool { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 3px; color: #d6d6d6; }
.rlh-tool.is-on { background: var(--rlh-max-sel); color: #fff; }
.rlh-sep { width: 1px; height: 16px; background: #555; margin: 0 4px; flex: 0 0 auto; }
.rlh-tools__sel { margin-left: 6px; padding: 2px 8px; border: 1px solid #555; border-radius: 3px; background: #2f3032; color: #cfcfcf; }
.rlh-body { display: grid; grid-template-columns: minmax(0, 1fr) 168px; min-height: 0; background: var(--rlh-max-bg3); }

/* the viewport */
.rlh-vp {
  position: relative; overflow: hidden; container-type: size;
  background: linear-gradient(180deg, #57595c 0%, #3f4144 58%, #313235 100%);
  box-shadow: inset 0 0 0 2px var(--rlh-max-vp);
}
.rlh-vp__grid {
  position: absolute; left: -40%; right: -40%; top: 46%; bottom: -60%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.32) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.32) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
  opacity: 0.55;
}
.rlh-safe {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: min(94cqw, calc((100cqh - 34px) * 1.7778)); aspect-ratio: 16 / 9;
  background: #1c1c1c; overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.22);
}
.rlh-vp__img, .rlh-vfb__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* the safe frame's corners close in on the camera's view */
.rlh-safe__c {
  position: absolute; inset: 6px; pointer-events: none;
  --c: rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 0 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 18px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 18px 1.5px, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 18px;
  background-repeat: no-repeat;
  animation: rlhSafe 520ms cubic-bezier(.16, 1, .3, 1) 380ms both;
}
@keyframes rlhSafe { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: none; } }
.rlh-shut { position: absolute; left: 0; right: 0; height: 50.5%; background: #0c0c0d; transform: scaleY(0); pointer-events: none; }
.rlh-shut--t { top: 0; transform-origin: 50% 0; }
.rlh-shut--b { bottom: 0; transform-origin: 50% 100%; }
.rlh-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.is-cek .rlh-shut { animation: rlhShut 300ms cubic-bezier(.5, 0, .3, 1) both; }
.is-cek .rlh-flash { animation: rlhFlash 520ms ease-out 150ms both; }
.is-cek .rlh-vp__img, .is-cek .rlh-vfb__cv { animation: rlhKick 420ms cubic-bezier(.2, .9, .25, 1) 120ms both; }
@keyframes rlhShut { 0% { transform: scaleY(0); } 45%, 55% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes rlhFlash { 0% { opacity: 0; } 12% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes rlhKick { 0% { transform: scale(1); } 40% { transform: scale(0.982); } 100% { transform: scale(1); } }
.rlh-vp__lab { position: absolute; left: 8px; top: 6px; color: #e0e0e0; font-size: 11px; letter-spacing: 0.01em; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); }
.rlh-cube { position: absolute; right: 8px; top: 6px; width: 44px; height: 44px; }
.rlh-cube path { fill: rgba(255, 255, 255, 0.07); stroke: #b9bcc0; stroke-width: 0.9; stroke-linejoin: round; }
.rlh-cube text { font: 600 4.6px/1 var(--rlh-font); fill: #c9ccd0; }
.rlh-axis { position: absolute; left: 6px; bottom: 6px; width: 34px; height: 34px; }
.rlh-axis path { stroke-width: 1.6; stroke-linecap: round; fill: none; }
.rlh-axis .ax-x { stroke: #d65f5a; } .rlh-axis .ax-y { stroke: #aab3bd; } .rlh-axis .ax-z { stroke: #6e9bd8; }
.rlh-axis text { font: 600 6px/1 var(--rlh-font); fill: #d8d8d8; }
.rlh-vp__note {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 6px;
  display: flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px;
  background: rgba(24, 25, 27, 0.9); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
  color: #e9edf2; font-size: 11.5px; white-space: nowrap; opacity: 0;
  transition: opacity 200ms ease, translate 260ms cubic-bezier(.16, 1, .3, 1);
}
.rlh-vp__note b { font-weight: 600; }
.rlh-vp:has(.is-cek) .rlh-vp__note { opacity: 1; translate: -50% 0; }

/* the command panel */
.rlh-cmd { background: var(--rlh-max-bg); border-left: 1px solid var(--rlh-max-line); padding: 6px; overflow: hidden; display: grid; align-content: start; gap: 6px; }
.rlh-cmd__tabs { display: flex; gap: 2px; }
.rlh-cmd__tabs span { flex: 1; height: 22px; display: grid; place-items: center; border-radius: 3px; background: #343537; }
.rlh-cmd__tabs .is-on { background: var(--rlh-max-sel); color: #fff; }
.rlh-cmd__dd { margin: 0; padding: 3px 6px; border: 1px solid #555; border-radius: 3px; background: #2f3032; }
.rlh-cmd__h { margin: 2px 0 0; padding: 3px 6px; background: #474849; border-radius: 2px; font-weight: 600; color: #e2e2e2; }
.rlh-cmd__g { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.rlh-cmd__g span { padding: 3px 0; text-align: center; border: 1px solid #555; border-radius: 3px; background: #444547; white-space: nowrap; overflow: hidden; }
.rlh-cmd__in { margin: 0; display: flex; gap: 4px; align-items: center; }
.rlh-cmd__in span { flex: 1; padding: 2px 6px; background: #2b2c2e; border: 1px solid #555; }
.rlh-cmd__in i { width: 18px; height: 16px; background: #8a6fbf; border: 1px solid #666; }
.rlh-time { display: grid; grid-template-rows: 12px 1fr; background: var(--rlh-max-bg2); border-top: 1px solid var(--rlh-max-line); padding: 0 8px; }
.rlh-time__bar { position: relative; }
.rlh-time__bar span { position: absolute; left: 0; top: 1px; padding: 0 6px; height: 10px; line-height: 10px; font-size: 9px; background: #555; border-radius: 2px; color: #eee; }
.rlh-time__tk { background: repeating-linear-gradient(90deg, #6a6a6a 0 1px, transparent 1px 2%); opacity: 0.6; margin-bottom: 3px; }
.rlh-status { display: flex; align-items: center; gap: 14px; padding: 0 8px; background: var(--rlh-max-bg3); border-top: 1px solid var(--rlh-max-line); color: var(--rlh-max-ink2); white-space: nowrap; overflow: hidden; }
.rlh-status__xyz { font-variant-numeric: tabular-nums; }
.rlh-status__k { margin-left: auto; padding: 1px 8px; background: #6b3a3a; color: #f2d7d7; border-radius: 2px; }
.rlh-se { background: var(--rlh-max-bg); border-right: 1px solid var(--rlh-max-line); padding: 6px; overflow: hidden; }
.rlh-se__h { margin: 0 0 6px; padding: 3px 6px; background: #474849; border-radius: 2px; font-weight: 600; }
.rlh-se ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; }
.rlh-se li { padding: 3px 6px 3px 16px; border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.rlh-se li::before { content: ""; position: absolute; left: 5px; top: 50%; width: 6px; height: 6px; translate: 0 -50%; border: 1px solid #9a9a9a; border-radius: 1px; }
.rlh-se li.is-sel { background: var(--rlh-max-sel); color: #fff; }

/* SketchUp: light, the sky and the ground, scene tabs, the tray */
.rlh-app--sketchup { background: var(--rlh-su-bg); color: var(--rlh-su-ink); border-color: #b9b9b9; grid-template-rows: 30px 22px 36px minmax(0, 1fr) 24px; }
.rlh-app--sketchup .rlh-tb { background: #f3f3f3; border-bottom-color: var(--rlh-su-line); }
.rlh-app--sketchup .rlh-tt, .rlh-app--sketchup .rlh-wb { color: #333; }
.rlh-app--sketchup .rlh-menu { background: #f6f6f6; border-bottom-color: var(--rlh-su-line); color: #222; }
.rlh-app--sketchup .rlh-tools { background: #efefef; border-bottom-color: var(--rlh-su-line); }
.rlh-app--sketchup .rlh-tool { width: 30px; height: 30px; color: #2b2b2b; }
.rlh-app--sketchup .rlh-tool.is-on { background: #cfdcec; color: #10243c; box-shadow: inset 0 0 0 1px #8fb0d6; }
.rlh-app--sketchup .rlh-sep { background: #c4c4c4; }
.rlh-app--sketchup .rlh-body { background: #ddd; grid-template-columns: minmax(0, 1fr) 176px; }
.rlh-vp--su { background: linear-gradient(180deg, #cdd9e5 0%, #edf1f4 52%, #d8d5cd 52.4%, #e6e3dc 100%); box-shadow: none; }
.rlh-vp--su .rlh-vp__grid { display: none; }
.rlh-vp--su .rlh-safe { outline-color: rgba(0, 0, 0, 0.25); background: #f0f0f0; }
.rlh-vp--su .rlh-axis .ax-y { stroke: #8f9399; }
.rlh-vp--su .rlh-axis text { fill: #3b3b3b; }
.rlh-su-tabs { position: absolute; left: 0; top: 0; z-index: 2; display: flex; gap: 1px; padding: 3px 4px 0; }
.rlh-su-tabs span { padding: 3px 12px; background: #e3e3e3; border: 1px solid #bdbdbd; border-bottom: 0; border-radius: 3px 3px 0 0; color: #333; }
.rlh-su-tabs [aria-current] { background: #fff; color: #000; font-weight: 600; }
.rlh-cmd--su { background: var(--rlh-su-bg2); border-left-color: var(--rlh-su-line); color: #222; }
.rlh-cmd--su .rlh-cmd__dd { background: #e9e9e9; border-color: #c6c6c6; font-weight: 600; }
.rlh-cmd--su .rlh-cmd__h { background: transparent; border-bottom: 1px solid #ddd; border-radius: 0; color: #222; font-weight: 400; }
.rlh-cmd--su .rlh-cmd__h.is-on { font-weight: 600; }
.rlh-su-scn { display: grid; gap: 2px; padding: 2px 4px 6px 14px; }
.rlh-su-scn span { padding: 2px 6px; border-radius: 2px; }
.rlh-su-scn span:first-child { background: var(--rlh-su-sel); color: #fff; }
.rlh-status--su { background: #f1f1f1; border-top-color: var(--rlh-su-line); color: #444; }
.rlh-status--su span:first-child { display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; }
.rlh-status__m { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.rlh-status__m i { width: 90px; height: 15px; background: #fff; border: 1px solid #bbb; }

/* Corona VFB: dark, its own toolbar, the picture in passes, the post panel */
.rlh-app--vfb { background: var(--rlh-vfb-bg); grid-template-rows: 30px 34px minmax(0, 1fr) 26px; }
.rlh-tb--vfb { background: #19191a; }
.rlh-vfb__tools { display: flex; align-items: center; gap: 3px; padding: 0 8px; background: #2a2a2b; border-bottom: 1px solid #141414; white-space: nowrap; overflow: hidden; }
.rlh-vfb__sel { padding: 3px 8px; border: 1px solid #4a4a4a; border-radius: 3px; background: #222; color: #ddd; margin-left: 4px; }
.rlh-vfb__btn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 3px; background: #3a3a3b; color: #eee; margin-left: 4px; }
.rlh-vfb__btn:first-of-type { background: #6a4a1d; color: #ffe2b0; }
.rlh-vfb__body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; min-height: 0; }
.rlh-vfb__img { position: relative; container-type: size; background: #141415 repeating-conic-gradient(#18181a 0 25%, #141415 0 50%) 0 0 / 22px 22px; }
.rlh-safe--vfb { outline: 0; background: #111; }
.rlh-vfb__side { background: #272728; border-left: 1px solid #151515; padding: 6px 8px; display: grid; align-content: start; gap: 7px; color: #cfcfcf; overflow: hidden; }
.rlh-vfb__tabs { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 4px; }
.rlh-vfb__tabs span { padding: 3px 6px; border-radius: 3px; background: #333; font-size: 10.5px; }
.rlh-vfb__tabs .is-on { background: #4a4a4b; color: #fff; }
.rlh-vfb__sl { margin: 0; display: grid; gap: 3px; font-size: 10.5px; }
.rlh-vfb__sl i { display: block; height: 4px; background: #3c3c3d; border-radius: 2px; overflow: hidden; }
.rlh-vfb__sl b { display: block; height: 100%; background: #8c8c8e; }
.rlh-vfb__st { display: flex; align-items: center; gap: 14px; padding: 0 10px; background: #19191a; color: #bdbdbd; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.rlh-vfb__prog { margin-left: auto; width: 26%; height: 4px; background: #333; border-radius: 2px; overflow: hidden; flex: 0 0 auto; }
.rlh-vfb__prog b { display: block; width: 0; height: 100%; background: var(--rlh-vfb-acc); }
.rlh-app--vfb.is-done .rlh-vfb__pass { color: #f3d29a; }

/* the capture's window (eklenti): it slides in from the left; narrow screens drop the side panels */
.rlh-app--kay .rlh-body { grid-template-columns: minmax(0, 1fr) 150px; }
.rlh-app--kay.rlh-app--sketchup .rlh-body { grid-template-columns: minmax(0, 1fr) 150px; }
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  .rlh-app { font-size: 10.5px; }
  .rlh-app--kay .rlh-body, .rlh-app--kay.rlh-app--sketchup .rlh-body, .rlh-vfb__body { grid-template-columns: minmax(0, 1fr); }
  .rlh-app--kay .rlh-cmd, .rlh-vfb__side { display: none; }
  .rlh-app--kay { grid-template-rows: 28px 20px 26px minmax(0, 1fr) 0 0; }
  .rlh-app--kay.rlh-app--sketchup { grid-template-rows: 28px 20px 30px minmax(0, 1fr) 0; }
  .rlh-app--kay .rlh-time, .rlh-app--kay .rlh-status { display: none; }
  .rlh-app--vfb { grid-template-rows: 28px 30px minmax(0, 1fr) 24px; }
  .rlh-vfb__sel, .rlh-vfb__btn + .rlh-vfb__btn { display: none; }
  .rlh-vp__lab { font-size: 9.5px; }
  .rlh-cube { width: 32px; height: 32px; }
}

/* --------------------------------- the host program's main screen (dialog) -- */
.rlh-dlg {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: hidden;
  overscroll-behavior: contain;
}
.rlh-dlg::backdrop { background: rgba(16, 17, 19, 0.5); backdrop-filter: blur(4px); }
.rlh-dlg:focus { outline: none; }
.rlh-app--tam { inset: 2.4vh 1.8vw; grid-template-rows: 32px 24px 34px minmax(0, 1fr) 30px 24px; font-size: 12px; }
.rlh-app--tam.rlh-app--sketchup { grid-template-rows: 32px 24px 40px minmax(0, 1fr) 26px; }
.rlh-app--tam .rlh-body { grid-template-columns: 172px minmax(0, 1fr) 196px; }
.rlh-app--tam.rlh-app--sketchup .rlh-body { grid-template-columns: minmax(0, 1fr) 210px; }
.rlh-app--tam .rlh-tool { width: 26px; height: 26px; }
.rlh-kat--ic { z-index: 20; }
/* the plugin, docked over the viewport like its own Qt window */
.rlh-plug {
  position: absolute; z-index: 5;
  right: max(14px, 1.6%); top: calc(32px + 24px + 34px + 18px); bottom: calc(30px + 24px + 18px);
  width: min(64%, calc(100% - 330px)); min-width: min(820px, calc(100% - 28px));
  display: grid; grid-template-rows: 30px minmax(0, 1fr);
  border: 1px solid #4a4b4d; border-radius: 8px; overflow: hidden;
  background: #262626;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 12px 30px -16px rgba(0, 0, 0, 0.6);
}
.rlh-app--sketchup .rlh-plug { top: calc(32px + 24px + 40px + 18px); bottom: calc(26px + 18px); }
.rlh-plug { transition: opacity 260ms ease; }
.rlh-plug.is-cekim { opacity: 0.07; }
.rlh-plug__tb { display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #1d1d1e; color: #dedede; font: 400 12px/1 var(--rlh-font); border-bottom: 1px solid #111; }
.rlh-plug__tb > span:first-of-type { flex: 1; }
.rlh-plug__in { position: relative; min-height: 0; overflow: hidden; container: rlhplug / size; }
/* the docked plugin is narrower than the screen: its header takes the plugin's own narrow form
   (the same steps as app.css's narrow desktop, by the plugin's width instead of the screen's) */
@container rlhplug (max-width: 1240px) {
  .hd { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hd-cap { display: none; }
  .pill { padding: 0 13px; }
}
@container rlhplug (max-width: 980px) {
  .btn-src { padding: 0 10px; }
  .btn-src span, .ver { display: none; }
  .pill { padding: 0 11px; gap: 5px; }
}
@container rlhplug (max-width: 860px) {
  .pill:not([aria-pressed="true"]) span { display: none; }
}
/* #win lives here while the host screen is open: app.js still writes its story
   pose, these rules keep it whole and still */
.rlh-plug .win { position: absolute !important; inset: 0 !important; transform: none !important; clip-path: none !important; opacity: 1 !important; visibility: visible !important; border-radius: 0; }
.rlh-plug .win__in { width: 100% !important; height: 100% !important; transform: none !important; }
.rlh-plug .win-dim { opacity: 0 !important; }
html.rlh-kilit { overflow: hidden; scrollbar-gutter: stable; }
@media (max-width: 820px) {
  .rlh-app--tam, .rlh-app--tam.rlh-app--sketchup { inset: 0; border-radius: 0; border: 0; grid-template-rows: 30px 0 0 minmax(0, 1fr) 0 0; }
  .rlh-app--tam .rlh-menu, .rlh-app--tam .rlh-tools, .rlh-app--tam .rlh-time, .rlh-app--tam .rlh-status, .rlh-app--tam .rlh-se, .rlh-app--tam .rlh-cmd { display: none; }
  .rlh-app--tam .rlh-body, .rlh-app--tam.rlh-app--sketchup .rlh-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 28vh 1fr; }
  .rlh-app--tam .rlh-vp { grid-row: 1; }
  .rlh-plug, .rlh-app--sketchup .rlh-plug { left: 0; right: 0; width: auto; top: calc(30px + 28vh); bottom: 0; border-radius: 0; border-width: 1px 0 0; grid-template-rows: 26px minmax(0, 1fr); }
  .rlh-plug__tb .rlh-wb { display: none; }
}

/* ------------------------------------------------ Windows 11 file dialog -- */
.w11 {
  width: min(880px, calc(100vw - 24px)); height: min(580px, calc(100dvh - 32px)); max-width: none; max-height: none;
  padding: 0; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 8px;
  display: grid; grid-template-rows: 32px 44px 38px minmax(0, 1fr) auto;
  background: #f3f3f3; color: #1b1b1b;
  font: 400 12.5px/1.3 var(--rlh-font);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.42), 0 2px 21px rgba(0, 0, 0, 0.12);
  overflow: hidden; overflow: clip; overscroll-behavior: contain;
}
.w11:not([open]) { display: none; }
.w11 > * { min-width: 0; }
.w11::backdrop { background: rgba(0, 0, 0, 0.28); }
.w11 .rlh-ic { stroke-width: 1.05; }
.w11__tb { display: flex; align-items: center; justify-content: space-between; padding-left: 12px; }
.w11__t { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.w11__t .rlh-ic { color: #c99a2e; }
.w11__x { width: 46px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: #1b1b1b; }
.w11__x:hover, .w11__x:focus-visible { background: #c42b1c; color: #fff; }
.w11__nav { display: flex; align-items: center; gap: 4px; padding: 0 10px; }
.w11__nb { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; color: #444; flex: 0 0 auto; }
.w11__adr, .w11__ara { margin: 0 0 0 6px; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #fff; border: 1px solid #e3e3e3; border-bottom-color: #c9c9c9; border-radius: 4px; white-space: nowrap; overflow: hidden; }
.w11__adr { flex: 1; min-width: 0; color: #555; }
.w11__adr b { color: #111; font-weight: 400; }
.w11__ara { width: 210px; color: #777; flex: 0 1 auto; }
.w11__cmd { display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid #e2e2e2; color: #333; }
.w11__cmd span { display: flex; align-items: center; gap: 6px; }
.w11__cmd i { width: 1px; height: 18px; background: #d6d6d6; }
.w11__main { display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: 0; background: #fff; }
.w11__side { display: grid; align-content: start; gap: 1px; padding: 8px 6px; background: #f7f7f7; border-right: 1px solid #ececec; }
.w11__side span { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 4px; color: #262626; }
.w11__side .is-on { background: #e5e5e5; }
.w11__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-content: start; gap: 6px; padding: 12px; overflow-y: auto; overscroll-behavior: contain; }
.w11__f { display: grid; gap: 4px; justify-items: center; padding: 8px 6px 6px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #1b1b1b; text-align: center; cursor: default; font: inherit; }
.w11__th { width: 100%; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.w11__th img { max-width: 100%; max-height: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28); background: #ddd; }
.w11__n { font-size: 12px; word-break: break-all; }
.w11__f small { color: #6a6a6a; font-size: 11px; }
.w11__f:hover { background: #f0f5fb; border-color: #f0f5fb; }
.w11__f[aria-selected="true"] { background: #cce4f7; border-color: #99c9ef; }
.w11__f:focus-visible { outline: 2px solid #005fb8; outline-offset: 1px; }
.w11__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px; padding: 12px 14px; background: #f3f3f3; border-top: 1px solid #e2e2e2; }
.w11__fn { display: flex; align-items: center; gap: 8px; min-width: 0; }
.w11__fn input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; border: 1px solid #e0e0e0; border-bottom-color: #8a8a8a; border-radius: 4px; background: #fff; font: inherit; color: #111; }
.w11__ty { height: 30px; display: flex; align-items: center; padding: 0 10px; background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; white-space: nowrap; }
.w11__ok, .w11__no { height: 32px; min-width: 88px; padding: 0 14px; border-radius: 4px; font: inherit; cursor: pointer; }
.w11__ok { background: #005fb8; border: 1px solid #0a5aa6; color: #fff; }
.w11__ok:disabled { background: #c8c8c8; border-color: #c8c8c8; color: #f6f6f6; cursor: default; }
.w11__no { background: #fbfbfb; border: 1px solid #d6d6d6; color: #1b1b1b; }
.w11__ok:focus-visible, .w11__no:focus-visible { outline: 2px solid #1b1b1b; outline-offset: 2px; }
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  .w11 { grid-template-rows: 32px 40px minmax(0, 1fr) auto; }
  .w11__cmd, .w11__ara, .w11__nb:nth-child(-n+2), .w11__side { display: none; }
  .w11__main { grid-template-columns: minmax(0, 1fr); }
  .w11__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  .w11__foot { grid-template-columns: minmax(0, 1fr) auto auto; }
  .w11__ty { display: none; }
  .w11__ok, .w11__no { min-width: 0; }
  .w11__fn span { display: none; }
}

/* ------------------------------------------ the result forming (Oluştur) -- */
.dm-dev { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0; display: block; }
.dm-scan {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(146, 182, 220, 0.12) 46%, rgba(255, 255, 255, 0.22) 50%, rgba(146, 182, 220, 0.12) 54%, transparent 100%) 0 0 / 100% 240% no-repeat;
  animation: dmScan 1.7s linear infinite; mix-blend-mode: screen;
}
@keyframes dmScan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.dm-glint {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.36) 50%, transparent 66%);
  animation: dmGlint 1s cubic-bezier(.4, 0, .2, 1) both; mix-blend-mode: soft-light;
}
@keyframes dmGlint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.dm-inis { position: absolute; inset: 0; z-index: 6; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(146, 182, 220, 0.95), inset 0 0 40px rgba(146, 182, 220, 0.35); animation: dmInis 820ms ease-out both; }
@keyframes dmInis { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* -------------------------------------------- the plugin in manual mode -- */
.dm-bakiye { display: none; position: relative; margin: 0; align-items: baseline; gap: 8px; font-size: 12px; color: #b9b9b9; }
body.is-manual .dm-bakiye { display: flex; }
.dm-bakiye b { color: #f1f1f1; font-size: 13.5px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.dm-bakiye__s { margin-left: auto; border: 0; background: transparent; padding: 0; color: var(--rlh-acc); font-size: 11.5px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.dm-eksi { position: absolute; left: 92px; top: -2px; font: 600 12.5px/1 var(--sc-font-text, sans-serif); color: #f1c878; font-variant-numeric: tabular-nums; pointer-events: none; animation: dmEksi 1.25s cubic-bezier(.2, .8, .2, 1) both; }
.dm-eksi--arti { color: #b9cde3; }
@keyframes dmEksi { 0% { opacity: 0; transform: translateY(6px); } 18% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-16px); } }
.dm-zoom { display: none; position: absolute; left: 12px; bottom: 12px; z-index: 6; align-items: center; gap: 2px; padding: 3px; background: rgba(30, 30, 30, 0.88); border: 1px solid #4a4a4a; border-radius: 8px; font-size: 12px; color: #e6e6e6; }
body.is-manual .dm-zoom { display: flex; }
body.is-manual .zoomtag { display: none; }
.dm-zoom button { height: 26px; min-width: 26px; padding: 0 6px; border: 0; border-radius: 5px; background: transparent; color: inherit; font-size: 14px; line-height: 1; }
.dm-zoom .dm-zoom__fit { font-size: 11.5px; }
.dm-zoom output { min-width: 42px; text-align: center; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .dm-zoom button:hover { background: #3a3a3a; } }
body.is-manual .cv-frame.dm-pan { cursor: grabbing; }
/* the canvas waits for a source: the Viewport button calls */
body.is-manual.dm-bos #bViewport { animation: dmCagri 1.7s ease-in-out infinite; background: #3b4552; }
@keyframes dmCagri { 0% { box-shadow: 0 0 0 0 rgba(146, 182, 220, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(146, 182, 220, 0); } 100% { box-shadow: 0 0 0 0 rgba(146, 182, 220, 0); } }
body.is-manual .btn-go.is-run::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 9px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dmSpin 0.8s linear infinite; }
@keyframes dmSpin { to { transform: rotate(360deg); } }
.btn-sub.dm-ok { background: #3b4e64; border-color: #7192b4; color: #fff; }
.dm-toast {
  position: absolute; left: 50%; bottom: calc(var(--sb-h, 26px) + 14px); z-index: 40; margin: 0;
  display: flex; align-items: center; gap: 8px; max-width: min(90%, 520px);
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: #eef0f3; color: #17181a; font-size: 12.5px; line-height: 1.3;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.7);
  opacity: 0; translate: -50% 10px; pointer-events: none;
  transition: opacity 220ms ease, translate 320ms cubic-bezier(.16, 1, .3, 1);
}
.dm-toast.is-on { opacity: 1; translate: -50% 0; }
.dm-toast .rlh-ic { color: #3b4e64; flex: 0 0 auto; }
/* the layers' eyes are buttons now */
.ly__eyeb { border: 0; background: transparent; padding: 0; margin: 0; color: inherit; display: grid; place-items: center; cursor: pointer; border-radius: 4px; }
.ly.is-hid .ly__th, .ly.is-hid .ly__n { opacity: 0.45; }
.ly.is-hid .ly__eye { opacity: 0.35; }
.gal__i[data-k] { cursor: pointer; }
/* in manual mode the panel scrolls; a phone shows every section */
body.is-manual .pn-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555 transparent; }
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  body.is-manual .pn-body .sec { display: block; }
  .dm-zoom { left: 6px; bottom: 6px; }
  .dm-zoom .dm-zoom__fit { display: none; }
  .dm-toast { font-size: 11.5px; }
}
/* v16 · MOBIL: "Kendiniz deneyin" on a phone is used with a thumb. In manual mode the plugin's
   controls grow to about 34 px on the screen (they were 24–30) and its smallest words to 11–12 px
   (were 9–10). Only heights and sizes: the header row and the canvas keep their place (the
   frame's geometry in app.js stays true), the panel scrolls (above). The story's picture of the
   plugin is untouched. */
@media (max-width: 820px) {
  body.is-manual .win { font-size: 13.5px; }
  body.is-manual .btn-src { height: 36px; min-width: 38px; }
  body.is-manual .pill { height: 36px; }
  body.is-manual .ico { width: 38px; height: 38px; }
  body.is-manual .cv-labels { font-size: 12px; }
  body.is-manual .hc { font-size: 11.5px; }
  body.is-manual .gal__i figcaption { font-size: 11.5px; }
  body.is-manual .pn { grid-template-rows: 42px minmax(0, 1fr) auto; }
  body.is-manual .tab { height: 42px; font-size: 13.5px; }
  body.is-manual .sec__h { height: 34px; font-size: 13.5px; }
  body.is-manual .seg button, body.is-manual .seg span { height: 36px; font-size: 13px; }
  body.is-manual .presets button { height: 38px; font-size: 12.5px; }
  body.is-manual .ltools button, body.is-manual .ico-s { min-height: 36px; min-width: 38px; }
  body.is-manual .ly__eyeb { width: 36px; height: 36px; }
  body.is-manual .ly { grid-template-columns: 36px 64px 64px 1fr; }
  body.is-manual .mut, body.is-manual .mut--s, body.is-manual .ly__n small, body.is-manual .ly__th i { font-size: 12px; }
  body.is-manual .btn-go { height: 46px; font-size: 14.5px; }
  body.is-manual .btn-sub { height: 38px; font-size: 13px; }
  body.is-manual .dm-bakiye { font-size: 13px; }
  body.is-manual .dm-bakiye__s { padding: 10px 4px; margin: -10px 0 -10px auto; font-size: 13px; }   /* a 36 px target in the same row */
  body.is-manual .dm-zoom button { height: 34px; min-width: 34px; font-size: 16px; }   /* (it sits on the canvas: kept small) */
  body.is-manual .bop input { height: 34px; }
  body.is-manual .sb { font-size: 12px; }
}
@media (max-width: 380px) {
  body.is-manual .pill, body.is-manual .pill[aria-pressed="true"] { padding: 0 10px; }   /* icon-only modes: 29 → 33 px wide */
}
/* a short phone (iPhone SE 667, Android 640): the panel's scroller keeps its room; the footer
   stays as compact as before (its buttons still about 32 px on the screen) */
@media (max-width: 820px) and (max-height: 700px) {
  body.is-manual .pn { grid-template-rows: 38px minmax(0, 1fr) auto; }
  body.is-manual .tab { height: 38px; }
  body.is-manual .pn-foot { padding: 6px 8px; gap: 5px; }
  body.is-manual .btn-go { height: 38px; font-size: 14px; }
  body.is-manual .btn-sub { height: 35px; }
}
/* v16 · MOBIL2: a landscape phone keeps the wide plugin (app.css); its smallest controls and
   words still suit a thumb */
@media (max-height: 500px) and (pointer: coarse) {
  body.is-manual .dm-zoom button { height: 34px; min-width: 34px; font-size: 16px; }
  body.is-manual .dm-bakiye__s { padding: 10px 4px; margin: -10px 0 -10px auto; }
  body.is-manual .ly__n small, body.is-manual .ly__th i { font-size: 12px; }
  body.is-manual .bop input { height: 34px; }
  body.is-manual .ltools button, body.is-manual .ico-s { min-height: 34px; }
}
/* v16 · MOBIL2: the guide's "Geç" (28 px) and its folded pill (30 px) answer a thumb over 44 px */
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  .dm-tur__b { position: relative; }
  .dm-tur__b::after, .dm-tur__pill::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: -3px; right: -3px; }
}

/* v16 · DEMO2 (brief 3): the reader's full screen is laid out at the screen's own
   size (app.js dmNative, K = 1). A narrower box than the design's 1600 px takes
   the plugin's own narrow header, by the window's width (the story keeps its own). */
body.dm-nat .win { container: dmnat / inline-size; }
@container dmnat (min-width: 821px) and (max-width: 1360px) {
  .hd { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hd-cap { display: none; }
  .pill { padding: 0 14px; }
}
@container dmnat (min-width: 821px) and (max-width: 980px) {
  .btn-src { padding: 0 10px; }
  .btn-src span { display: none; }
}

/* -------------------------------------------- the guide (v16 · DEMO2) --
   V16 brief 4. The page's invitation light (dugme.css .btn--davet, a warm
   amber) marks the next control: a lit ring that beats twice and rests (a
   heartbeat), a glass bar over the canvas with the step, a hand that drags
   the A/B handle and the opacity slider. demo.js places them (RenderLabDemo.tur). */
.dm-tur { --dm-a: 236, 172, 86; position: absolute; inset: 0; z-index: 30; pointer-events: none; font-family: var(--sc-font-text, system-ui), sans-serif; }
.dm-tur[hidden] { display: none; }
.dm-tur__halka {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 10px; pointer-events: none;
  opacity: 0; transition: opacity 220ms ease;
  box-shadow: 0 0 0 2px rgba(var(--dm-a), 0.95), 0 0 0 6px rgba(var(--dm-a), 0.16), 0 0 26px 6px rgba(var(--dm-a), 0.3);
}
.dm-tur__halka.is-on { opacity: 1; animation: dmVurus 1.6s cubic-bezier(.3, .6, .3, 1) infinite; }
.dm-tur__halka::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: dmKalp 1.6s cubic-bezier(.25, .7, .3, 1) infinite; }
.dm-tur__halka--2 { box-shadow: 0 0 0 1.5px rgba(var(--dm-a), 0.6), 0 0 16px 2px rgba(var(--dm-a), 0.14); }
.dm-tur__halka--2.is-on { animation: none; }
.dm-tur__halka--2::after { display: none; }
/* lub-dub, then rest: the ring swells twice, a wave leaves it twice */
@keyframes dmVurus { 0%, 34%, 100% { scale: 1; } 7% { scale: 1.045; } 15% { scale: 1; } 22% { scale: 1.03; } }
@keyframes dmKalp {
  0% { box-shadow: 0 0 0 0 rgba(var(--dm-a), 0.8); }
  16% { box-shadow: 0 0 0 11px rgba(var(--dm-a), 0); }
  17% { box-shadow: 0 0 0 0 rgba(var(--dm-a), 0.6); }
  40%, 100% { box-shadow: 0 0 0 18px rgba(var(--dm-a), 0); }
}
/* the bar: black glass, the step in amber, five marks, Geç */
.dm-tur__bar {
  position: absolute; left: 0; top: 0; translate: -50% 0; pointer-events: auto;
  display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: max-content;
  padding: 6px 6px 6px 7px; border-radius: 999px;
  background: rgba(16, 16, 18, 0.84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #efebe5; font-size: 13px; line-height: 1.3;
}
.dm-tur__bar[hidden] { display: none; }
.dm-tur__no {
  flex: 0 0 auto; display: grid; place-items: center; min-width: 40px; height: 26px; padding: 0 9px; box-sizing: border-box; border-radius: 999px;
  background: rgba(var(--dm-a), 0.16); color: #f4c97f; font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(var(--dm-a), 0.5);
}
.dm-tur__m { margin: 0; min-width: 0; flex: 1 1 auto; }
.dm-tur__m b { font-weight: 600; color: #fbf7f0; }
.dm-tur__alt { color: #bdb7ae; }
.dm-tur__ad { flex: 0 0 auto; display: flex; gap: 3px; }
.dm-tur__ad i { width: 12px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.dm-tur__ad i.is-ok { background: rgba(var(--dm-a), 0.7); }
.dm-tur__ad i.is-now { background: #f6d39a; }
.dm-tur__b {
  flex: 0 0 auto; height: 28px; padding: 0 13px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #dcd8d1; font: inherit; font-size: 12.5px; cursor: pointer;
}
.dm-tur__b:focus-visible, .dm-tur__pill:focus-visible { outline: 2px solid #f4c97f; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .dm-tur__b:hover, .dm-tur__pill:hover { background: rgba(255, 255, 255, 0.16); color: #fff; } }
.dm-tur__b--bas { display: none; }
.dm-tur.is-bitti .dm-tur__b--bas { display: block; background: rgba(var(--dm-a), 0.2); color: #f6d9a8; }
.dm-tur.is-bitti .dm-tur__no { background: rgba(var(--dm-a), 0.28); }
/* folded: a small pill at the canvas's top right starts it again */
.dm-tur__pill {
  position: absolute; left: 0; top: 0; translate: -100% 0; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 16, 18, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #e6e2dc; font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap;
}
.dm-tur__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--dm-a)); box-shadow: 0 0 0 3px rgba(var(--dm-a), 0.2); }
.dm-tur__pill b { font-weight: 600; color: #f4c97f; font-variant-numeric: tabular-nums; }
.dm-tur__pill b:empty { display: none; }
.dm-tur__pill[hidden] { display: none; }
/* the hand: it presses, drags one way, the other way, and lets go; a dashed track shows the way */
.dm-tur__el { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity 220ms ease; }
.dm-tur__el.is-on { opacity: 1; }
.dm-tur__iz {
  position: absolute; left: var(--iz-l, 0); width: var(--iz-w, 0); top: 30px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(var(--dm-a), 0.9) 0 6px, transparent 6px 11px);
}
.dm-tur__iz::before, .dm-tur__iz::after { content: ""; position: absolute; top: -4px; border: 5px solid transparent; }
.dm-tur__iz::before { left: -8px; border-right-color: rgba(var(--dm-a), 0.95); border-left-width: 0; }
.dm-tur__iz::after { right: -8px; border-left-color: rgba(var(--dm-a), 0.95); border-right-width: 0; }
.dm-tur__el.is-opak .dm-tur__iz::after { display: none; }
.dm-tur__eh { position: absolute; left: 0; top: 0; animation: dmEl 2.8s cubic-bezier(.45, 0, .25, 1) infinite; }
.dm-tur__eh svg { position: absolute; left: -13px; top: -3px; width: 34px; height: 34px; max-width: none; overflow: visible; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.55)); }
.dm-tur__eh path { fill: #fbfaf7; stroke: #141517; stroke-width: 1.3; stroke-linejoin: round; }
.dm-tur__dokun { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--dm-a), 0.45); box-shadow: 0 0 0 2px rgba(var(--dm-a), 0.9); animation: dmDokun 2.8s ease infinite; }
@keyframes dmEl { 0%, 10% { translate: 0 0; } 38% { translate: var(--d1) 0; } 68% { translate: var(--d2) 0; } 90%, 100% { translate: 0 0; } }
@keyframes dmDokun { 0%, 4% { scale: 0.4; opacity: 0; } 10%, 84% { scale: 1; opacity: 1; } 92%, 100% { scale: 1.4; opacity: 0; } }
/* the guide's ring replaces v15's blue call on the Viewport button */
body.is-manual.dm-bos.dm-tur-on #bViewport { animation: none; box-shadow: none; }
/* a short phone (360 × 640): the plugin's panel had no room left for the steps
   under the canvas; in the reader's full screen the history strip steps aside
   (Geçmiş keeps every result) and the bar stands over the canvas's top */
@media (max-width: 820px) and (max-height: 700px), (max-height: 500px) and (pointer: coarse) {
  body.dm-nat .win { --strip-h: 0px; }
  body.dm-nat .strip { display: none; }
}
/* a narrow plugin (a phone): the bar under the canvas, its marks left out */
.dm-tur.is-dar .dm-tur__bar { border-radius: 14px; gap: 8px; padding: 5px 5px 5px 6px; font-size: 12.5px; }
.dm-tur.is-dar .dm-tur__ad { display: none; }
.dm-tur.is-dar .dm-tur__no { min-width: 34px; height: 24px; padding: 0 7px; font-size: 12px; }
@media (forced-colors: active) {
  .dm-tur__halka { outline: 2px solid Highlight; outline-offset: 0; }
  .dm-tur__bar, .dm-tur__pill { border: 1px solid CanvasText; }
}

/* reduced motion: no travel, no passes, no pulse */
@media (prefers-reduced-motion: reduce) {
  .rlh-safe__c, .is-cek .rlh-shut, .is-cek .rlh-vp__img, .is-cek .rlh-vfb__cv, .dm-scan, .dm-glint, .dm-inis, .dm-eksi { animation: none !important; }
  .is-cek .rlh-flash { animation: none; }
  .dm-scan { display: none; }
  body.is-manual.dm-bos #bViewport { animation: none; box-shadow: 0 0 0 2px rgba(146, 182, 220, 0.7); }
  body.is-manual .btn-go.is-run::before { animation: none; }
  .dm-toast { transition: none; }
  /* v16 · DEMO2: the guide's light stands still, lit; the hand waits on the control with its arrows */
  .dm-tur__halka.is-on, .dm-tur__halka::after, .dm-tur__eh, .dm-tur__dokun { animation: none !important; }
  .dm-tur__halka:not(.dm-tur__halka--2) { transition: none; box-shadow: 0 0 0 2.5px rgba(var(--dm-a), 1), 0 0 0 7px rgba(var(--dm-a), 0.22), 0 0 30px 8px rgba(var(--dm-a), 0.32); }
  .dm-tur__el { transition: none; }
}

/* -------------------------------------------------- v17 · DEMO3 --
   V17-SOZLESME "Demo" 2 and 3. In the reader's hands the empty canvas shows the
   three ways as buttons, each with the one line of what it brings (the story
   keeps its own list); the panel's section headings are buttons that fold their
   sections (app.js secFold); Oluştur lights up once when its quote follows a
   setting (app.js dmTutar). */
.sec__t {
  display: flex; align-items: center; gap: 8px; box-sizing: border-box;
  width: calc(100% + 20px); height: 100%; margin: 0 -10px; padding: 0 10px;
  border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left;
}
body.is-manual .sec__t { cursor: pointer; }
.sec__t:focus-visible { outline: 2px solid var(--rlh-acc); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { body.is-manual .sec__t:hover { background: rgba(255, 255, 255, 0.05); } }
body.is-manual .sec__t svg { transition: transform 140ms ease; }   /* the story folds by the scroll: no transition there (same scroll = same frame) */

.dm-yol { display: none; }
body.is-manual .cv-empty ol { display: none; }
body.is-manual .cv-empty__in { width: min(92%, 660px); padding: 22px 22px 20px; box-sizing: border-box; }
body.is-manual.dm-bos .cv-empty { pointer-events: auto; }
body.is-manual .dm-yol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dm-yol button {
  display: grid; justify-items: start; align-content: start; gap: 4px; min-width: 0; padding: 12px 12px 13px;
  border: 1px solid #4a4a4a; border-radius: 8px; background: #2a2a2a; color: #d9d9d9;
  font: inherit; text-align: left; cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.dm-yol img { width: 20px; height: 20px; opacity: 0.88; margin-bottom: 4px; }
.dm-yol b { font-size: 14px; font-weight: 600; color: #f0f0f0; }
.dm-yol span { font-size: 12.5px; line-height: 1.35; color: #bdbdbd; }
@media (hover: hover) and (pointer: fine) { .dm-yol button:hover { background: #343434; border-color: #6a7d92; } }
.dm-yol button:active { background: #3b3b3b; }
.dm-yol button:focus-visible { outline: 2px solid var(--rlh-acc); outline-offset: 2px; }
/* nothing to zoom on the empty canvas */
body.is-manual.dm-bos .dm-zoom { display: none; }
/* a phone (and a landscape phone): the three stand side by side, smaller */
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  body.is-manual .cv-empty__in { width: calc(100% - 12px); padding: 8px 4px; border: 0; }
  body.is-manual .cv-empty__t { margin: 0 0 7px; font-size: 14px; }
  body.is-manual .dm-yol { gap: 6px; }
  .dm-yol button { gap: 2px; padding: 8px 8px 9px; border-radius: 7px; }
  .dm-yol img { width: 18px; height: 18px; margin-bottom: 2px; }
  .dm-yol b { font-size: 13px; }
  .dm-yol span { font-size: 11.5px; line-height: 1.3; }
}

body.is-manual .btn-go.dm-tutar { animation: dmTutar 0.9s cubic-bezier(.2, .7, .3, 1); }
@keyframes dmTutar {
  0% { box-shadow: 0 0 0 0 rgba(146, 182, 220, 0); }
  20% { box-shadow: 0 0 0 3px rgba(146, 182, 220, 0.9), 0 0 24px 4px rgba(146, 182, 220, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(146, 182, 220, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.is-manual .sec__t svg { transition: none; }
  .dm-yol button { transition: none; }
  body.is-manual .btn-go.dm-tutar { animation: none; box-shadow: 0 0 0 2px rgba(146, 182, 220, 0.9); }
}
/* the guide's bar on a narrow plugin: the first step's second line is the cards' own words; a bar
   over the canvas (a landscape phone) has the cards sit low, under it, without their heading */
.dm-tur.is-dar.is-bos .dm-tur__alt { display: none; }
body.is-manual.dm-tur-ust.dm-bos .cv-empty { place-items: end center; }
body.is-manual.dm-tur-ust.dm-bos .cv-empty__t { display: none; }
/* the example label names what is on the canvas: nothing yet on the empty one */
body.is-manual.dm-bos .cv-ornek { display: none; }
/* a narrow bar over the canvas (a landscape phone): the last word's second line steps aside for its two buttons */
.dm-tur.is-ust.is-bitti .dm-tur__alt { display: none; }
/* a ring as wide as the plugin (Çıktı, the three ways on a phone) does not swell past the screen's edges; its wave still beats */
.dm-tur__halka.is-genis.is-on { animation: none; }
/* the section headings are buttons now, and Çıktı is open: on a landscape phone both get a thumb's 34 px (the portrait phone's rule above) */
@media (max-height: 500px) and (pointer: coarse) { body.is-manual .sec__h { height: 34px; } body.is-manual .seg button { height: 34px; } }   /* Çıktı is open now: its buttons too (v16 folded it here) */
