/* One local receipt and one matching guide marker. All text remains canonical.
 * Paper/light vocabulary is shared with the optional cabinet handoff. */
.team-relay-figure{position:relative;display:block;width:86px;height:105px;isolation:isolate;pointer-events:none}
.team-payoff .team-relay-figure .pixel-companion{position:absolute;width:43px;height:53px;left:-5px;bottom:0;margin:0;opacity:.94}
.relay-recipient{position:absolute;left:31px;bottom:4px;width:50px;height:80px}
.relay-recipient svg{display:block;width:100%;height:100%;overflow:visible;image-rendering:pixelated}
.relay-worker-head{transform-box:fill-box;transform-origin:center bottom}
.relay-worker-arm{transform-box:fill-box;transform-origin:center 0}
.relay-paper-source,.relay-paper-target{position:absolute;width:2px;height:2px;pointer-events:none}
.relay-paper-source{left:7px;top:11px}
.relay-paper-target{left:58px;top:76px}
.relay-paper{position:absolute;left:0;top:0;width:31px;height:38px;opacity:0;z-index:3;transform-origin:center;pointer-events:none}
.relay-paper-face,.relay-paper-pixels{position:absolute;inset:0;display:block}
.relay-paper-face{background:#fff9e9;border:1px solid #dacbab;border-radius:1px 3px 2px 1px;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #b09c682b;overflow:hidden;opacity:0}
.relay-paper-face:before{content:'';position:absolute;right:-1px;top:-1px;width:8px;height:8px;background:linear-gradient(45deg,#ecdfbd 49%,#30473755 50%,#fff9e9 56%);clip-path:polygon(0 0,0 100%,100% 100%)}
.relay-paper-face>i{display:block;height:2px;background:#b69246;margin:7px 5px 0;opacity:.55}
.relay-paper-face>i+i{margin-top:3px;background:#304737;opacity:.32}
.relay-paper-face>i:nth-child(3){width:11px}
.relay-paper-face>b{position:absolute;right:3px;bottom:3px;width:14px;height:14px;color:#304737}
.relay-paper-face svg,.guide-relay-ribbon svg{display:block;width:100%;height:100%}
.relay-paper-pixels{background:#f1d789;clip-path:polygon(14% 0,82% 0,82% 12%,100% 12%,100% 82%,82% 82%,82% 100%,14% 100%,14% 86%,0 86%,0 14%,14% 14%);box-shadow:inset 5px 5px 0 #fff3b888;opacity:0}
.relay-paper-pixels:after{content:'';position:absolute;left:7px;top:8px;width:17px;height:3px;background:#304737;box-shadow:0 7px 0 #304737,0 14px 0 #304737}
.relay-paper-shadow{position:absolute;left:0;top:0;width:30px;height:34px;background:#20382b;border-radius:3px;filter:blur(4px);opacity:0;z-index:1;pointer-events:none}
.guide-relay-ribbon{position:absolute;right:12px;top:-7px;display:block;width:20px;height:52px;background:#fff9e9;color:#304737;border-left:1px solid #dacbab;border-right:1px solid #dacbab;clip-path:polygon(0 0,100% 0,100% 100%,50% 88%,0 100%);box-shadow:inset 1px 0 0 #fff,inset -2px 0 0 #20382b14;opacity:0;pointer-events:none;z-index:4;transform-origin:50% 0}
.guide-relay-ribbon:before{content:'';position:absolute;top:0;left:0;right:0;height:9px;background:linear-gradient(#b2a37b77,transparent)}
.guide-relay-ribbon>span{position:absolute;left:3px;top:18px;width:14px;height:14px}
#book-viewer .book-reader-utilities .book-start-over{color:#f7dc9b;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1000px){.team-relay-figure{width:80px}}
@media(max-width:700px){
 .team-relay-figure{width:70px;height:92px}
 .team-payoff .team-relay-figure .pixel-companion{width:35px;height:43px;left:-4px}
 .relay-recipient{left:21px;bottom:1px;width:45px;height:72px}
 .relay-paper-source{left:5px;top:3px}.relay-paper-target{left:49px;top:67px}
 .relay-paper{width:27px;height:33px}.relay-paper-shadow{width:27px;height:30px}
 .relay-paper-face>i{margin:5px 4px 0}.relay-paper-face>i+i{margin-top:3px}
 .relay-paper-face>b{width:12px;height:12px;right:2px;bottom:2px}
 .guide-relay-ribbon{right:8px;width:17px;height:43px}
 .guide-relay-ribbon>span{left:2px;top:14px;width:13px;height:13px}
}
@media(prefers-reduced-motion:reduce){.relay-paper,.relay-paper-shadow,.guide-relay-ribbon{will-change:auto}}
