/* tape.css | The redaction tape, one shared component (19 Nov 2026). Loaded by files.html before files-page.css and surprise.css. Script: rtape.js (the peel, the press-on, the drag).
   A strip is `i.rtape[aria-hidden]` laid over a word: `b.rt-m > b.rt-n > b.rt-b` (the paper: left tear, right tear and long edges, then the peel front and the texture) with `b.rt-f` (the peeled
   underside) and `b.rt-r` (the roll at the peel front) beside them; `::before` is the contact shadow. Variation is by class (rtape.v0-v5 hand and lightness, l0-l5 left tear, e0-e5 right
   tear, c1-c3 a crease, bb an air bubble), never by inline style in the markup. The strip is a pure function of four custom properties the script sets (default: sealed and flat):
   --p the peel front, 0 sealed to 1 peeled; --r the freed roll flicking away, 0 to 1; --a how far the strip is pressed on, 1 on; --lf and --s the press: how far it hovers, and its stretch.
   Colour: amber on the amber token (--btn, the same amber the bars always had); texture: img/tape.svg (crepe fibre, speckle, ridges), one shared file. Reduced motion: the script never
   moves it, and the page shows the bars exactly as before (hidden or whole). Nothing here animates by itself. */
.rtape{--p:0;--r:0;--a:1;--lf:0;--s:0;--tc:var(--btn,#D9A441);--ts:.3;--fx:calc(var(--p) * 112% - 6%);--ax:calc(var(--a) * 130% - 10%);--v:0;--bx:0px;--by:0px;
 position:absolute;display:block;pointer-events:none;rotate:var(--rot,0deg);translate:0 calc(var(--dy,0px) - var(--lf) * 3px)}
.rtape b,.rtape i{display:block}
.rtape:before{content:"";position:absolute;left:.12em;right:.12em;top:.05em;bottom:.03em;border-radius:1px;
 box-shadow:-.5px calc(1.6px + var(--lf) * 4px) calc(3.4px + var(--lf) * 5px) rgba(0,0,0,calc(var(--ts) - var(--lf) * .1));
 clip-path:inset(-14px calc(-14px + (1 - var(--a)) * 100%) -14px calc(var(--p) * 100%))}
.rtape .rt-m,.rtape .rt-n,.rtape .rt-b{position:absolute;inset:0}
.rtape .rt-m{transform-origin:0 50%;transform:scaleX(calc(1 + var(--s)))}
.rtape .rt-b{
 clip-path:polygon(calc(var(--fx) + .06em) 0,calc(var(--ax) + .06em) 0,calc(var(--ax) - .06em) 100%,calc(var(--fx) - .06em) 100%);
 background-color:color-mix(in srgb,var(--tc) calc(100% - var(--v) * 1%),#fff);
 background-image:
  linear-gradient(180deg,rgba(255,244,214,.3) 0,rgba(255,244,214,.1) 6%,transparent 12%,transparent 86%,rgba(70,35,0,.1) 94%,rgba(70,35,0,.26) 100%),
  linear-gradient(180deg,rgba(255,226,150,.2) 0,rgba(255,226,150,.2) 4%,transparent 4.1%,transparent 95.9%,rgba(255,226,150,.14) 96%),
  radial-gradient(60% 70% at 22% 40%,rgba(255,240,200,.12),transparent 70%),radial-gradient(50% 80% at 78% 60%,rgba(120,70,0,.1),transparent 70%),
  repeating-linear-gradient(90deg,rgba(60,30,0,.025) 0 1px,transparent 1px 9px,rgba(255,240,200,.025) 9px 10px,transparent 10px 23px),
  url(img/tape.svg);
 background-size:100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,320px 160px;
 background-position:0 0,0 0,0 0,0 0,var(--bx) 0,var(--bx) var(--by);
 background-blend-mode:normal,normal,normal,normal,normal,overlay}
.rtape .rt-b:after{content:"";position:absolute;inset:0;opacity:0}
.rtape.c1 .rt-b:after,.rtape.c2 .rt-b:after,.rtape.c3 .rt-b:after{opacity:1;background:linear-gradient(106deg,transparent 41.6%,rgba(255,244,214,.36) 42.4%,rgba(80,40,0,.22) 43.2%,transparent 44%)}
.rtape.c2 .rt-b:after{background:linear-gradient(74deg,transparent 60.6%,rgba(255,244,214,.34) 61.4%,rgba(80,40,0,.2) 62.3%,transparent 63%),linear-gradient(112deg,transparent 21.6%,rgba(255,244,214,.22) 22.3%,rgba(80,40,0,.14) 23%,transparent 23.6%)}
.rtape.c3 .rt-b:after{background:linear-gradient(98deg,transparent 71.6%,rgba(255,244,214,.3) 72.4%,rgba(80,40,0,.2) 73.2%,transparent 74%)}
.rtape.bb .rt-b:after{opacity:1;background:radial-gradient(.13em .09em at 66% 38%,rgba(255,246,222,.42) 0,rgba(255,246,222,.12) 55%,transparent 62%),radial-gradient(.15em .1em at 66.4% 42%,transparent 55%,rgba(80,40,0,.16) 70%,transparent 80%)}
.rtape.bb.c1 .rt-b:after{background:radial-gradient(.13em .09em at 66% 38%,rgba(255,246,222,.42) 0,rgba(255,246,222,.12) 55%,transparent 62%),linear-gradient(106deg,transparent 41.6%,rgba(255,244,214,.36) 42.4%,rgba(80,40,0,.22) 43.2%,transparent 44%)}
/* the roll at the peel front: a narrow cylinder, light, dark, light, with a soft shadow on the strip beside it */
.rtape .rt-r,.rtape .rt-f{position:absolute;top:0;bottom:0;opacity:calc(min(1, var(--p) * 24) * (1 - var(--r)));transform-origin:100% 50%;
 translate:calc(var(--r) * .95em) calc(var(--r) * -1.5em);rotate:calc(var(--r) * 30deg)}
.rtape .rt-r{left:calc(var(--fx) - .01em);width:calc(.075em + var(--p) * .075em);margin-left:-.04em;border-radius:.05em;
 background:linear-gradient(90deg,#efc979 0,#f9e0a2 18%,#c9922f 50%,#a2701f 68%,#e3b351 90%,#f0cb7c 100%);
 box-shadow:.05em .03em .1em rgba(0,0,0,.36);scale:1 calc(1.02 + var(--p) * .06)}
/* the lifted part: the underside, paler and glossy, with faint adhesive streaks; it rises and fades toward its free end */
.rtape .rt-f{left:calc(var(--fx) - .62em);width:.62em;top:.04em;bottom:.04em;transform-origin:100% 50%;
 background:linear-gradient(180deg,rgba(255,255,255,.28),transparent 30%,rgba(120,70,0,.12)),repeating-linear-gradient(98deg,rgba(255,255,255,.2) 0 1px,transparent 1px 5px),linear-gradient(90deg,#f1dca4,#e8c677 70%,#d9a441);
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40%);mask-image:linear-gradient(90deg,transparent 0,#000 40%);
 rotate:calc(var(--p) * -11deg + var(--r) * 30deg);box-shadow:0 .08em .14em rgba(0,0,0,.3)}
.rtape.rt-live .rt-b,.rtape.rt-live .rt-r,.rtape.rt-live .rt-f,.rtape.rt-live .rt-m{will-change:transform,opacity,clip-path}
/* variation by class: lightness (a few percent), the hand (rotation of at most 0.4 degrees, a little vertical drift) and the texture offset */
.rtape.v0{--v:0;--rot:.3deg;--dy:-.6px;--bx:0px;--by:0px}
.rtape.v1{--v:5;--rot:-.35deg;--dy:.8px;--bx:-90px;--by:-40px}
.rtape.v2{--v:2;--rot:.15deg;--dy:1.2px;--bx:-150px;--by:-90px}
.rtape.v3{--v:7;--rot:-.22deg;--dy:-1px;--bx:-30px;--by:-120px}
.rtape.v4{--v:3;--rot:.4deg;--dy:.3px;--bx:-210px;--by:-20px}
.rtape.v5{--v:6;--rot:-.4deg;--dy:-.2px;--bx:-60px;--by:-70px}
.g-paper .rtape,.sup .rtape{--ts:.2}
.rtape.l0 .rt-m{clip-path:polygon(100% 0,100% 100%,0.057em 100%,0.051em 92.261%,0.103em 84.361%,0.034em 83.014%,0.024em 77.67%,0em 76.927%,0.039em 71.518%,0em 70.154%,0.102em 61.697%,0.056em 61.093%,0.03em 53.338%,0.008em 44.813%,0em 36.35%,0.029em 29.5%,0.021em 24.406%,0em 23.122%,0.027em 16.963%,0em 9.879%,0.023em 2.448%,0em 0%)}
.rtape.l1 .rt-m{clip-path:polygon(100% 0,100% 100%,0.042em 100%,0.067em 91.191%,0.028em 86.511%,0.099em 81.843%,0.055em 80.627%,0.035em 74.533%,0.041em 69.888%,0em 68.629%,0.067em 61.472%,0.041em 55.646%,0em 54.675%,0.02em 49.275%,0em 48.223%,0.101em 44.533%,0.04em 37.027%,0.069em 30.786%,0.1em 23.485%,0.032em 22.608%,0.125em 14.292%,0.105em 6.341%,0.072em 0%)}
.rtape.l2 .rt-m{clip-path:polygon(100% 0,100% 100%,0.067em 100%,0.053em 95.567%,0.107em 88.67%,0.057em 82.313%,0.014em 77.565%,0.029em 70.714%,0em 69.689%,0.037em 62.773%,0em 62.1%,0.027em 54.818%,0.08em 49.126%,0.018em 42.154%,0.041em 34.976%,0.042em 28.89%,0.025em 20.614%,0.035em 13.812%,0.011em 4.955%,0.089em 0%)}
.rtape.l3 .rt-m{clip-path:polygon(100% 0,100% 100%,0.057em 100%,0.059em 92.546%,0.025em 91.464%,0.071em 85.862%,0.032em 85.196%,0.027em 77.142%,0em 76.44%,0.051em 71.931%,0.074em 66.148%,0.054em 61.279%,0.063em 54.378%,0em 53.606%,0.09em 45.229%,0.136em 40.099%,0.069em 39.419%,0.091em 35.387%,0.021em 34.399%,0.082em 25.471%,0.083em 20.366%,0.081em 12.362%,0.05em 11.406%,0.109em 4.348%,0.076em 0%)}
.rtape.l4 .rt-m{clip-path:polygon(100% 0,100% 100%,0.082em 100%,0.031em 92.475%,0.133em 84.538%,0.09em 83.413%,0.073em 76.363%,0.062em 71.09%,0.061em 65.025%,0.027em 63.971%,0.079em 57.183%,0.012em 56.251%,0.092em 50.827%,0.076em 47.101%,0.093em 40.121%,0.062em 39.103%,0.146em 33.521%,0.116em 32.798%,0.149em 24.824%,0.083em 17.856%,0.102em 12.649%,0.105em 4.251%,0.173em 0%)}
.rtape.l5 .rt-m{clip-path:polygon(100% 0,100% 100%,0.051em 100%,0.07em 92.151%,0.029em 86.81%,0.058em 82.499%,0.013em 81.554%,0.073em 75.523%,0.019em 74.132%,0.073em 65.354%,0.004em 64.01%,0.038em 57.074%,0.088em 48.735%,0.066em 43.076%,0.085em 36.132%,0.086em 27.332%,0.067em 23.149%,0.033em 22.447%,0.09em 16.301%,0.05em 9.601%,0.008em 8.306%,0.077em 0.826%,0.057em 0%)}
.rtape.e0 .rt-n{clip-path:polygon(0 0.023%,6.564% 0.396%,6.964% 1.996%,7.764% 0.396%,17.999% 0.015%,23.09% 0.414%,28.404% 0.768%,65.566% 0.631%,78.241% 0.091%,calc(100% - 0.049em) 0%,calc(100% - 0.097em) 7.032%,calc(100% - 0.039em) 15.267%,calc(100% - 0em) 16.048%,calc(100% - 0.116em) 23.869%,calc(100% - 0.063em) 25.068%,calc(100% - 0.064em) 32.355%,calc(100% - 0.039em) 41.326%,calc(100% - 0em) 42.499%,calc(100% - 0.044em) 49.052%,calc(100% - 0.044em) 56.482%,calc(100% - 0.002em) 57.505%,calc(100% - 0.028em) 64.72%,calc(100% - 0em) 65.596%,calc(100% - 0.064em) 73.272%,calc(100% - 0.012em) 73.897%,calc(100% - 0.071em) 82.813%,calc(100% - 0.034em) 87.552%,calc(100% - 0.083em) 91.429%,calc(100% - 0.033em) 95.148%,calc(100% - 0.114em) 100%,49.571% 99.88%,49.563% 99.912%,45.408% 99.344%,44.608% 97.744%,44.208% 99.344%,44.177% 99.981%,28.306% 99.376%,9.29% 99.406%,8.49% 97.806%,8.09% 99.406%,0% 99.602%)}
.rtape.e1 .rt-n{clip-path:polygon(0 0.034%,6.309% 0.678%,29.755% 0.778%,33.35% 0.126%,45.469% 0.429%,64.286% 0.194%,69.226% 0.17%,calc(100% - 0.036em) 0%,calc(100% - 0.055em) 4.494%,calc(100% - 0.022em) 5.555%,calc(100% - 0.034em) 12.594%,calc(100% - 0.047em) 20.377%,calc(100% - 0em) 21.444%,calc(100% - 0.056em) 29.856%,calc(100% - 0.028em) 37.264%,calc(100% - 0em) 38.195%,calc(100% - 0.031em) 46.91%,calc(100% - 0.04em) 52.164%,calc(100% - 0em) 53.234%,calc(100% - 0.032em) 59.429%,calc(100% - 0.019em) 62.961%,calc(100% - 0.101em) 70.77%,calc(100% - 0.008em) 74.284%,calc(100% - 0.013em) 82.572%,calc(100% - 0.099em) 91.259%,calc(100% - 0.033em) 92.127%,calc(100% - 0.104em) 98.013%,calc(100% - 0.008em) 100%,89.071% 99.398%,69.545% 99.422%,57.14% 99.138%,56.34% 97.538%,55.94% 99.138%,25.977% 99.183%,21.67% 99.458%,19.714% 99.651%,18.914% 98.051%,18.514% 99.651%,0% 99.975%)}
.rtape.e2 .rt-n{clip-path:polygon(0 0.382%,22.239% 0.766%,22.639% 2.366%,23.439% 0.766%,40.393% 0.475%,41.931% 0.445%,60.162% 0.77%,62.843% 0.782%,87.42% 0.116%,calc(100% - 0.062em) 0%,calc(100% - 0.029em) 3.702%,calc(100% - 0.128em) 11.941%,calc(100% - 0.021em) 19.68%,calc(100% - 0em) 21.012%,calc(100% - 0.033em) 25.214%,calc(100% - 0em) 26.6%,calc(100% - 0.033em) 33.676%,calc(100% - 0.038em) 42.662%,calc(100% - 0em) 43.418%,calc(100% - 0.057em) 49.784%,calc(100% - 0.013em) 50.829%,calc(100% - 0.081em) 56.227%,calc(100% - 0.012em) 57.593%,calc(100% - 0.14em) 63.237%,calc(100% - 0.084em) 64.528%,calc(100% - 0.047em) 73.299%,calc(100% - 0.042em) 77.508%,calc(100% - 0.011em) 78.151%,calc(100% - 0.069em) 83.56%,calc(100% - 0.039em) 87.205%,calc(100% - 0.007em) 87.815%,calc(100% - 0.088em) 94.9%,calc(100% - 0.031em) 95.656%,calc(100% - 0.048em) 100%,72.763% 99.457%,71.963% 97.857%,71.563% 99.457%,69.511% 99.591%,61.947% 99.789%,47.966% 99.982%,45.54% 99.153%,25.677% 99.544%,0% 99.73%)}
.rtape.e3 .rt-n{clip-path:polygon(0 0.045%,23.861% 0.551%,55.947% 0.698%,56.438% 0.086%,71.494% 0.106%,75.556% 0.892%,76.737% 0.235%,calc(100% - 0.065em) 0%,calc(100% - 0.017em) 5.14%,calc(100% - 0em) 5.883%,calc(100% - 0.032em) 13.996%,calc(100% - 0.012em) 22.277%,calc(100% - 0.031em) 27.328%,calc(100% - 0em) 28.685%,calc(100% - 0.007em) 36.243%,calc(100% - 0em) 37.474%,calc(100% - 0.017em) 42.159%,calc(100% - 0.003em) 48.434%,calc(100% - 0.034em) 55.842%,calc(100% - 0.048em) 64.547%,calc(100% - 0.033em) 73.471%,calc(100% - 0.037em) 79.122%,calc(100% - 0em) 85.05%,calc(100% - 0.034em) 88.575%,calc(100% - 0em) 94.628%,calc(100% - 0.016em) 100%,89.821% 99.216%,84.987% 99.903%,52.444% 99.422%,49.665% 99.307%,25.335% 99.514%,24.535% 97.914%,24.135% 99.514%,12.564% 99.932%,0% 99.513%)}
.rtape.e4 .rt-n{clip-path:polygon(0 0.198%,13.179% 0.142%,16.746% 0.065%,17.146% 1.665%,17.946% 0.065%,33.902% 0.607%,46.493% 0.775%,55.048% 0.136%,64.491% 0.265%,calc(100% - 0.038em) 0%,calc(100% - 0.031em) 5.575%,calc(100% - 0.04em) 9.814%,calc(100% - 0em) 11.17%,calc(100% - 0.032em) 17.134%,calc(100% - 0.06em) 23.05%,calc(100% - 0.051em) 31.645%,calc(100% - 0.04em) 35.958%,calc(100% - 0.022em) 44.821%,calc(100% - 0.038em) 50.562%,calc(100% - 0em) 55.122%,calc(100% - 0.033em) 61.804%,calc(100% - 0.017em) 68.694%,calc(100% - 0.043em) 75.302%,calc(100% - 0.028em) 84.288%,calc(100% - 0.029em) 89.836%,calc(100% - 0em) 90.737%,calc(100% - 0.025em) 95.129%,calc(100% - 0em) 96.019%,calc(100% - 0.008em) 100%,84.76% 99.69%,84.338% 99.401%,84.224% 99.647%,68.732% 99.118%,40.177% 99.253%,23.148% 99.779%,0% 99.605%)}
.rtape.e5 .rt-n{clip-path:polygon(0 0.217%,24.501% 0.466%,24.901% 2.066%,25.701% 0.466%,47.739% 0.664%,51.042% 0.876%,66.862% 0.183%,75.609% 0.29%,87.963% 0.005%,calc(100% - 0.037em) 0%,calc(100% - 0.021em) 5.343%,calc(100% - 0.053em) 10.519%,calc(100% - 0.047em) 19.493%,calc(100% - 0.073em) 26.912%,calc(100% - 0.005em) 27.588%,calc(100% - 0.114em) 32.217%,calc(100% - 0.04em) 40.957%,calc(100% - 0.027em) 47.307%,calc(100% - 0em) 48.513%,calc(100% - 0.049em) 52.488%,calc(100% - 0.055em) 59.968%,calc(100% - 0.037em) 66.029%,calc(100% - 0.039em) 71.765%,calc(100% - 0.032em) 76.105%,calc(100% - 0em) 77.492%,calc(100% - 0.026em) 85.53%,calc(100% - 0.041em) 90.119%,calc(100% - 0.056em) 95.85%,calc(100% - 0.072em) 100%,83.364% 99.54%,52.062% 99.895%,46.1% 99.54%,45.754% 99.249%,44.954% 97.649%,44.554% 99.249%,37.031% 99.364%,31.573% 99.154%,30.773% 97.554%,30.373% 99.154%,0% 99.879%)}

/* the real peel (rtape-rig.js, 20 Nov 2026): the strip is rebuilt as slices that bend; the flat strip is hidden while they show */
.rtape .rgx{position:absolute;inset:0;pointer-events:none;z-index:2}
.rtape.rg-on>.rt-m,.rtape.rg-on>.rt-f,.rtape.rg-on>.rt-r{visibility:hidden}
.rtape.rg-on:before{display:none}
.rtape.rt-gone{visibility:hidden}
.rgx .rgx-pc{position:absolute;width:0;height:0;transform-style:preserve-3d}
.rgx .rgx-fm{position:absolute;left:0;top:0;width:0;height:0;transform-style:preserve-3d}
.rgx .rgx-shd{position:absolute;left:0;top:0;width:0;height:0;filter:blur(3.5px)}
.rgx .rgx-sd{position:absolute;left:0;top:0;overflow:hidden}
.rgx .rgx-sdi{position:absolute;background:#000;border-radius:2px}
.rgx .rgx-sl{position:absolute;left:0;top:0;transform-style:preserve-3d}
.rgx .rgx-fr,.rgx .rgx-bk{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.rgx .rgx-fi{position:absolute;transform-origin:50% 50%}
.rgx .rgx-fj{position:absolute;inset:0}
.rgx .rgx-fj:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(255,250,230,var(--sp,0)),rgba(255,250,230,var(--sp,0))),rgba(25,12,0,var(--dk,0))}
.rgx .rgx-bk{transform:rotateY(180deg)}
.rgx .rgx-bk .rgx-fj{background:linear-gradient(180deg,rgba(255,255,255,.3),transparent 30%,rgba(120,70,0,.14)),repeating-linear-gradient(98deg,rgba(255,255,255,.22) 0 1px,transparent 1px 5px),linear-gradient(90deg,#e6c47c,#d9ac55 60%,#c28f35)}
/* the violet torch (style uv): the tape dissolves under the beam, the word glows. No box edge: the glow is a text-shadow on the word's own container and the beam a soft gradient */
.rtape.uv-on>.rt-m{-webkit-mask-image:linear-gradient(90deg,transparent calc(var(--uvx,-999px) - 22px),#000 calc(var(--uvx,-999px) + 34px));mask-image:linear-gradient(90deg,transparent calc(var(--uvx,-999px) - 22px),#000 calc(var(--uvx,-999px) + 34px))}
.rtape.uv-on:before{display:none}
.rtape .uvb{position:absolute;left:0;top:0;border-radius:50%;pointer-events:none;mix-blend-mode:screen;opacity:0;background:radial-gradient(circle,rgba(190,150,255,.4),rgba(138,92,255,.16) 36%,transparent 66%)}
:not(.rtape).uv-on{text-shadow:0 0 calc(var(--uvg,0) * 16px) rgba(138,92,255,calc(var(--uvg,0) * .95)),0 0 calc(var(--uvg,0) * 34px) rgba(106,61,240,calc(var(--uvg,0) * .8));color:color-mix(in srgb,#cdb4ff calc(var(--uvg,0) * 70%),currentColor)}
.rtape .dst{position:absolute;pointer-events:none;z-index:3}
