/* The Quiet Wall: the full-screen viewer. White wall, big labelled controls, nothing else. */
html.vw-open, html.vw-open body { overflow: hidden; }
.vw { position: fixed; inset: 0; z-index: 200; background: #fbfaf8; color: var(--ink); touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; }
.vw[hidden] { display: none; }
.vw-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; outline: none; }
.vw-stage.drag { cursor: grabbing; }
.vw-img {
  position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 50% 50%; will-change: transform;
  box-shadow: 0 1px 2px rgba(18,18,18,.2), 0 20px 50px -20px rgba(18,18,18,.4); background: #e8e5de; -webkit-user-drag: none;
}
.vw.anim .vw-img { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.vw-top { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; pointer-events: none; }
.vw-top > * { pointer-events: auto; }
.vw-cap { max-width: min(560px, 64vw); background: rgba(255,255,255,.92); padding: 10px 18px 11px; border: 1px solid var(--rule); border-radius: 26px; font: 400 17px/1.35 var(--sans); }
.vw-cap b { font: 500 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 2px; }
.vw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; min-width: 52px; padding: 0 22px;
  background: rgba(255,255,255,.96); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
  font: 500 17px/1 var(--sans); box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); transition: background .25s ease, color .25s ease;
}
.vw-btn:hover { background: var(--ink); color: #fff; }
.vw-btn:disabled { opacity: .4; cursor: default; }
.vw-btn:disabled:hover { background: rgba(255,255,255,.96); color: var(--ink); }
.vw-btn svg { width: 22px; height: 22px; flex: none; }
.vw-btn.round { padding: 0; width: 52px; }
.vw-bottom { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.vw-bottom > * { pointer-events: auto; }
.vw-zoom { display: flex; align-items: center; gap: 8px; }
.vw-pct { min-width: 64px; text-align: center; font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; background: rgba(255,255,255,.92); padding: 17px 10px; border-radius: 999px; border: 1px solid var(--rule); }
.vw-help { position: absolute; z-index: 2; left: 50%; bottom: 76px; transform: translateX(-50%); margin: 0; padding: 8px 16px; background: rgba(255,255,255,.88); border-radius: 999px; font: 400 15px/1.3 var(--sans); color: var(--ink-2); white-space: nowrap; pointer-events: none; transition: opacity .6s ease; }
.vw-help.gone { opacity: 0; }
.vw-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 760px) {
  .vw-cap { max-width: calc(100vw - 150px); font-size: 16px; padding: 8px 14px 9px; }
  .vw-btn { padding: 0 16px; }
  .vw-bottom { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .vw-bottom .vw-btn.step-btn { order: 2; }
  .vw-zoom { order: 1; width: 100%; justify-content: center; }
  .vw-help { display: none; }
}
