
.prl-shell{
  --mjc-jade:#2f5d4a;--mjc-cream:#fff8eb;
  --prl-cloth:url('/assets/playmat-mjconnect-cloth.webp');--prl-cloth-size:490px 360px;--prl-cloth-colour:#9b5040;
  --prl-corners:url('/assets/playmat-mjconnect-corners.webp');--prl-rim:#874536
}


.prl-board{max-width:calc(var(--prl-cols,5) * 66px + 14px)}
.prl-gap,.prl-tile{aspect-ratio:3/4}
.prl-tile{background-image:url('/assets/piece-mjconnect-tile.webp');padding:0;border-radius:9%;filter:drop-shadow(0 2px 2px #3a170f66)}
.prl-tile .prl-art,.prl-tile:nth-child(5n+2) .prl-art,.prl-tile:nth-child(7n+3) .prl-art{left:11%;top:8%;width:73%;height:74%;transform:none}
.prl-tile .prl-paint{left:13%;top:12%;width:69%;height:66%}
.prl-tile::after{inset:1% 6% 9% 2%;border-radius:10%}


.prl-tile.is-selected::after{background:#5f8a7424;box-shadow:0 0 0 3px var(--mjc-jade),0 0 0 5px #fff8ebd9}
.prl-shell{--prl-ring:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M27 9 C50 2 82 6 91 27 C98 47 96 77 75 90 C55 99 22 97 10 76 C2 57 4 27 24 12 C31 7 40 5 49 6' fill='none' stroke='%23fff8eb' stroke-opacity='.75' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M27 9 C50 2 82 6 91 27 C98 47 96 77 75 90 C55 99 22 97 10 76 C2 57 4 27 24 12 C31 7 40 5 49 6' fill='none' stroke='%232f5d4a' stroke-width='4.6' stroke-linecap='round'/%3E%3Cpath d='M70 8 C84 13 93 24 94 38' fill='none' stroke='%232f5d4a' stroke-opacity='.55' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}


.prl-line{stroke:var(--mjc-jade);stroke-opacity:.9}
.prl-line-back{stroke:var(--mjc-cream);stroke-opacity:.7}
.prl-dot{fill:var(--mjc-jade)}


.prl-status{display:flex;gap:8px;align-items:stretch;margin:0 0 12px}
.prl-status .prl-message{flex:1 1 auto;margin:0}
.prl-dir{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:74px;
  background:var(--prl-cream-card);border:1px solid var(--prl-cream-line);border-radius:10px;padding:6px 8px;box-shadow:0 2px 5px #7051331a;
  color:var(--prl-chip-text);font-size:var(--fs-12,12px);font-weight:700}
.prl-dir [data-dir]{display:grid;place-items:center;width:34px;height:28px}
.prl-dir svg{width:30px;height:28px;fill:none;stroke:var(--prl-terra);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.prl-dir{min-width:64px;padding:5px 6px}}
