/* Accessible copy; the flexible paper stays in the 3D pass. */
/* The SVG's white nav shape paints above this background. Only the exposed
   areas outside its smoothed corners inherit the receipt's scene dimming. */
.nav{background:rgba(0,0,0,var(--receipt-backdrop,0));}
.receipt-overlay{position:absolute;inset:0;display:grid;place-items:center;z-index:6;pointer-events:none;}
.receipt-overlay[hidden]{display:none;}
.receipt-paper{position:absolute;transform-origin:50% 50%;opacity:0;}
.receipt-paper>svg{display:block;width:100%;height:100%;}
.receipt-apply{position:absolute;left:50%;transform:translateX(-50%);width:180px;height:48px;padding:0 24px;pointer-events:auto;cursor:pointer;font:400 var(--fs-14) var(--font-mono);letter-spacing:var(--ls-button);color:var(--ink);}
.receipt-apply:hover{background-color:var(--surface-hover);}
.receipt-apply:active{background-color:var(--surface-press);}
#ws[data-chapter=craft] .story-craft{opacity:calc(1 - var(--receipt-focus,0));visibility:visible;}
