/* 960: Where was this photo taken? as Do it with me (option B of docs/design/sketches/960-picture.md): the door and the example photo with its
   place on top of the page; each step a full screen with Back on top; the photo grows once it has its place. */
.steps > li.try-place { display: block; padding: 0; border-top: 0; }
.try-place .pl-wall { background: none; border: 0; padding: 0; margin: 4px 0 0; }
.pl-ex { margin: 12px -16px 0; }
.pl-ex img, .pl-ph img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: cover; }
.pl-ex figcaption, .pl-ph figcaption { padding: 10px 16px 0; }
.pl-ex figcaption b, .pl-ph figcaption b { display: block; font: 700 max(19px, var(--body))/1.25 var(--ui); }
.pl-ex figcaption span, .pl-ph figcaption span { display: block; color: var(--muted); font: 500 var(--small)/1.35 var(--ui); }
.doc .pl-sub { margin: 0 0 6px; font-size: max(18px, var(--body)); }
.pl-screen { position: fixed; inset: 0; z-index: 30; overflow-y: auto; background: var(--bg); color: var(--ink); overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
html.pl-open { overflow: hidden; }
.pl-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: env(safe-area-inset-top) 12px 0; background: var(--bg); }
.pl-bar b { font: 700 max(18px, var(--body)) var(--ui); }
.pl-back { min-width: var(--tap); min-height: var(--tap); border: 0; background: none; color: var(--accent); font: 400 32px/1 var(--ui); touch-action: manipulation; }
[dir=rtl] .pl-back span { display: inline-block; transform: scaleX(-1); }
.pl-ph { margin: 0; }
.pl-ph:not(.big) img { max-height: 150px; }
.pl-ph.big img { max-height: 340px; }
.pl-done .pl-ok, .pl-screen:has(.pl-done:not([hidden])) .pl-ph figcaption b { font-size: max(22px, var(--body)); }
.pl-pad { padding: 12px 16px 32px; max-width: 560px; margin: 0 auto; }
.pl-step { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 500 var(--small) var(--ui); margin: 4px 0 6px; }
.pl-dots { display: flex; gap: 6px; }
.pl-dots i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); }
.pl-dots i.on { background: var(--accent); }
.pl-screen .pr-h3 { font-size: max(22px, var(--body)); }
.pl-screen .pr-note { text-align: start; color: var(--ink); margin: 0 0 14px; }
.pl-in { display: block; width: 100%; min-height: var(--btn); padding: 0 16px; margin: 0 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 max(17px, var(--body)) var(--ui); }
.pl-in:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pl-two { display: grid; gap: 10px; }
.pl-btn2 { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--btn); border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 max(18px, var(--body)) var(--ui); touch-action: manipulation; }
.pl-btn2:active { transform: scale(.98); }
.try-place button.tp-link { border: 0; text-decoration: underline; text-underline-offset: 3px; }
.pl-link { margin: 0 0 14px; }
.pl-ok { margin: 8px 0 18px; }
.pl-ok span { color: var(--muted); font-weight: 500; }
.pl-screen [hidden], .pl-wall [hidden] { display: none !important; }
.pl-screen[hidden] { display: none !important; }
