/* Arakot Render Lab · v23 · PENCERE · the phone's camera on the plugin window (mobil-pencere.js).
   body.is-mpen: a phone's story shows the plugin's desktop layout (app.css keeps its one-column
   phone layout for the reader's full screen only). No filters, no backdrop blur, no layer hints. */

/* the map under the frame's left corner: the whole window, the part on screen */
.mp-harita { display: none; }
body.is-mpen .mp-harita {
  display: block; position: absolute; left: 0; top: 0; z-index: 35;
  width: 46px; height: 30px; opacity: 0; pointer-events: none;
  border-radius: 5px; background: #1d1e21;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 3px 10px -2px rgba(0, 0, 0, 0.35);
}
body.is-mpen.is-manual .mp-harita { visibility: hidden; }
.mp-harita__hd { position: absolute; left: 1px; right: 1px; top: var(--hd, 6%); border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mp-harita__pn { position: absolute; top: var(--hd, 6%); bottom: 1px; left: var(--pn, 75%); border-left: 1px solid rgba(255, 255, 255, 0.28); }
.mp-harita__r { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 1.5px; background: rgba(255, 255, 255, 0.26); box-shadow: inset 0 0 0 1px #fff; }

/* the example's label keeps its size on the screen (its scale comes from the camera) */
body.is-mpen .cv-ornek { transform-origin: 0 0; }

/* the A/B handle, its line and its strip grow with the camera's distance (--mpk, mobil-pencere.js) */
body.is-mpen .ab::before { left: calc(-22px * var(--mpk, 1)); width: calc(44px * var(--mpk, 1)); }
body.is-mpen .ab__line { left: calc(-0.5px * var(--mpk, 1)); width: calc(1px * var(--mpk, 1)); }
body.is-mpen .ab__knob { transform: scale(var(--mpk, 1)); }

/* a tap on the story's window never zooms the page (double tap); two fingers still can */
body.is-mpen .win { touch-action: manipulation; }
