/* Proof wall page (Nov 29): places things. The proof cards, the Filter menu, buttons and the tip are system components.
   The wall fills the window under the top bar; the headline and Filter sit on a fade of the page color, so proofs pass under. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
body{margin:0}  /* Dec 1: the page had the browser's 8px body margin, so a strip of the dot grid showed around the top bar */
#box{position:fixed;inset:0;height:100lvh;z-index:0;overflow:hidden;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;
  background-color:var(--canvas);background-image:radial-gradient(circle,color-mix(in oklab,var(--tx) 10%,transparent) 1px,transparent 1.6px)}
#box.drag{cursor:grabbing}
#wall{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
#wall .proof{left:0;top:0}
#wall.moving .proof{transition:translate var(--dur-slow) var(--ease-io),opacity var(--dur-base) var(--ease),filter var(--dur-base) var(--ease)}
.pw-yr{position:absolute;margin:0;font:900 var(--fs-band)/var(--lh-display) var(--d-font);color:var(--tx);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;animation:pw-yr var(--dur-base) var(--ease) .3s both}
@keyframes pw-yr{from{opacity:0;translate:0 12px}}
.pw-head{position:relative;z-index:30;display:grid;justify-items:start;gap:var(--s-4);padding-top:calc(64px + var(--s-2));padding-bottom:var(--s-7);pointer-events:none}
.pw-head::before{content:"";position:absolute;z-index:-1;inset:0 auto 0 50%;width:100vw;transform:translateX(-50%);background:linear-gradient(to bottom,var(--canvas) calc(100% - var(--s-7)),transparent)}
.pw-head .sh{margin:0}
.pw-head .flt{pointer-events:auto}
.flt{position:relative}
.flt-btn{gap:var(--s-2)}
.flt-btn i{font:500 var(--fs-tag)/var(--lh-none) var(--f-ui);font-style:normal;color:var(--tx-3);font-variant-numeric:tabular-nums}
.flt-btn .chev{width:16px;height:16px;transition:rotate var(--dur-fast) var(--ease)}
.flt-btn[aria-expanded="true"] .chev{rotate:180deg}
.flt-btn.on>svg:first-child{color:var(--sel)}
/* Nov 29: the zoom buttons step aside while the Filter menu is open, so they never cover its rows */
html:has(#fltBtn[aria-expanded="true"]) .pw-zoom{opacity:0;pointer-events:none}
.pw-zoom{transition:opacity var(--dur-fast) var(--ease);position:fixed;z-index:30;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));display:flex;gap:var(--s-2)}
.pw-mini{position:fixed;z-index:30;left:max(20px,env(safe-area-inset-left,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));width:160px;height:110px;overflow:hidden;cursor:pointer;touch-action:none;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-10);box-shadow:var(--sh-float)}
.pw-mini i{position:absolute;background:var(--tx-3);opacity:.45;border-radius:1px;transition:opacity var(--dur-base) var(--ease)}
.pw-mini b{position:absolute;border:1.5px solid var(--tx);border-radius:2px}
.pw-tip{left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));translate:-50% 0}
@media (max-width:899px){.pw-mini{display:none}.pw-zoom{right:auto;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px))}.pw-tip{bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){#wall.moving .proof{transition:none}.pw-yr{animation:none}}
/* Dec 1: the wall pans under the page, but the page itself never scrolls, so the top bar stayed clear and proofs dragged up showed
   through behind the nav. Here the bar always sits on the page color, above the wall and the headline fade */
body > .top{z-index:31;background:var(--canvas);box-shadow:0 -12px 0 var(--canvas)}  /* the shadow fills the strip above the bar too */
/* Dec 1: how-to line under the headline; the touch wording on touch screens */
.pw-head .sh-sub.pw-how{margin:calc(var(--s-2) - var(--s-4)) 0 var(--s-2);max-width:none}  /* system .sh-sub type (lede, tx-2); s-2 under the headline like every section subline (the header grid adds s-4), one line */
.pw-how-m{display:none}@media (hover:none){.pw-how-d{display:none}.pw-how-m{display:inline}}
