/* /profile/<who> - the WANTED: CREW poster (Playtest/mk-g66/crew-wanted.png, Joe 2026-10-14 "crew wanted is amazing").
   The poster itself is a canvas painted from the mock-up's own cut-outs (assets/poster.js, assets/wanted/); this file
   only places it on the telephone pole and lays the real controls over the painted plates. Joe 2026-10-15 ("needs to
   look way better like this", the mock-up circled): the link + COPY live ON the poster, the tear-off tabs hang small
   from its bottom edge with one gap, and the possum is big, bottom left, chewing the missing tab. Joe 2026-10-15 (2nd pass):
   ONE face on the whole poster - Rye, the Western woodtype - in ink at 90%, and a torn tab sails off the page.
   Joe 2026-10-15 (4th pass): "a better like handwritten font ... permanent marker" - Rye is out, Permanent Marker is
   the one face (Apache 2.0, fonts/PermanentMarker-APACHE.txt); the deal plate is a 9-slice so its nails stay round. */
@font-face{font-family:ClubMarker;src:url('/assets/fonts/permanent-marker.woff2?v=20261025pl') format('woff2');font-weight:400;font-display:block}
.wanted-page{--west:ClubMarker,'Comic Sans MS',cursive;--ink90:rgba(43,26,14,.9)}
.pole{position:relative;z-index:0;isolation:isolate;overflow:hidden;padding:26px 12px 70px;background:#3b4b3a url('/assets/wanted/pole.webp?v=20261015p') center top/cover no-repeat}
.pole-wrap{position:relative;max-width:520px;margin:0 auto}
.poster-box{position:relative;z-index:2;transform:rotate(-.6deg);filter:drop-shadow(0 12px 14px #000a);container-type:inline-size}
#wanted{display:block;width:100%;height:auto;aspect-ratio:1000/1600}
/* every position below is a FALLBACK: profile.js overwrites the --row/--tabs/--tab/--possum vars from poster.js's LAYOUT
   table (the one source, shared with the canvas, the share card and the game's crew page) - change it there */
.link-row{position:absolute;left:var(--row-l,13%);top:var(--row-t,92.63%);width:var(--row-w,73.8%);height:var(--row-h,4.88%);display:flex;align-items:flex-start}
.link-row input{width:71.8%;height:84.6%;min-width:0;border:0;padding:0 0 0 4%;background:transparent;font:400 2.75cqw/1 var(--west);color:var(--ink90)}
.copy{position:absolute;right:0;top:-1.5%;width:26.3%;height:100%;border:0;padding:0;background:transparent;
  font:400 4.3cqw/1 var(--west);color:var(--ink90);text-shadow:0 1px 0 #f3c77d;cursor:pointer}
.copy:active{transform:translateY(2px)}
.tabs{display:flex;justify-content:flex-start;gap:var(--tab-gap,3%);margin:var(--tabs-t,-3.5%) 0 0 var(--tabs-l,27%);width:var(--tabs-w,62%);position:relative;z-index:1;container-type:inline-size}

.tab{position:relative;flex:0 0 var(--tab-w,15.5%);aspect-ratio:240/617;padding:0;border:0;background:url('/assets/wanted/tab.webp?v=20261015p') center/100% 100% no-repeat;
  color:var(--ink90);font:400 var(--tab-fs,6.1cqw)/1 var(--west);letter-spacing:0;filter:drop-shadow(0 5px 4px #0008);
  transform:rotate(var(--tilt));transform-origin:top center;cursor:pointer;transition:transform .3s}
/* the code sits on the tab's clean paper only: below the 14% tucked under the poster (.tabs margin -3.5% of a
   24.7%-tall tab), above the ragged torn end (~14% of tab.webp); profile.js sizes it to the code's length */
.tab span{position:absolute;left:0;right:0;top:15%;bottom:15%;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;white-space:nowrap}
.tab.gap{visibility:hidden}
.tab:hover{transform:rotate(calc(var(--tilt) + 4deg))}
.tab.torn{visibility:hidden;pointer-events:none}
/* the torn tab's stand-in: fixed to the viewport so it can sail clean off the page (profile.js tear) */
.tab.flying{position:fixed;z-index:20;margin:0;pointer-events:none;transition:none;aspect-ratio:auto}
.possum{position:absolute;left:var(--possum-l,-7%);top:var(--possum-t,95%);width:var(--possum-w,27%);z-index:3;pointer-events:none;filter:drop-shadow(0 6px 5px #0009);container-type:inline-size}
.possum img{display:block;width:100%;height:auto}
/* the blank tab in its mouth, measured off possum.webp (420x686): centre line (287,340)->(342,628) = leans 11deg,
   centre (314,484) = 74.8% x 70.6%; the clean run below the teeth is ~250 px long, ~100 px wide. The box sits on
   that centre and turns with the tag; profile.js sizes the type to the code's length (--pfs). */
.possum b{position:absolute;left:62.8%;top:52.4%;width:24%;height:36.4%;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;
  font:400 var(--pfs,12cqw)/1 var(--west);letter-spacing:0;color:var(--ink90);transform:rotate(-11deg);white-space:nowrap}
.deal{margin:22px 0 0 26%;padding:0 2px;border:24px solid transparent;
  border-image:url('/assets/wanted/paper.webp?v=b5335358') 140 fill/30px stretch;filter:drop-shadow(0 8px 10px #0009);transform:rotate(.5deg)}
.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.actions .button{flex:1 1 130px;min-height:54px;font:400 19px/1.1 var(--west);letter-spacing:0;white-space:nowrap;padding:12px 14px}
.button.share{color:#f4ffe8;text-shadow:0 2px 2px #142a06;cursor:pointer}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,10px);margin:0;padding:10px 16px;border-radius:6px;background:#1c2a2f;color:#fff4d9;
  font:400 16px/1 var(--west);letter-spacing:0;opacity:0;transition:.25s;pointer-events:none;white-space:nowrap;z-index:9}
.toast.on{opacity:1;transform:translate(-50%,0)}
.pole [hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:560px){.pole{padding:16px 10px 70px}}
@media (prefers-reduced-motion:reduce){.tab,.toast{transition:none}}
