/* Mah-jong : tuiles ivoire en relief (tranche en bas à droite), couches décalées vers le haut à gauche. */
.wl-mj [hidden]{display:none!important}
.wl-mj-bar{justify-content:center;margin:1.2rem 0}
.wl-mj-deal{color:var(--wl-muted);font-size:1.4rem;margin-right:auto}
.wl-mj-wrap{position:relative}
.wl-mj-scroll{overflow-x:auto;overflow-y:hidden;padding:1.6rem .4rem;border-radius:var(--wl-radius);background:radial-gradient(ellipse at 50% 30%,#4f8a5c,#2f6440 75%);-webkit-overflow-scrolling:touch}
.wl-mj-board{position:relative;margin:0 auto}
.wl-mj-tile{position:absolute;width:var(--tw);height:var(--th);padding:0;border:1px solid #b9a978;border-radius:calc(var(--tw) * .12);background:linear-gradient(160deg,#fffdf4,#f1e7cc);
    box-shadow:1px 1px 0 #d9c99a,calc(var(--depth) * .5) calc(var(--depth) * .5) 0 #c8b47f,var(--depth) var(--depth) 0 #8f7a45,calc(var(--depth) + 2px) calc(var(--depth) + 2px) 4px rgba(0,0,0,.3);
    cursor:pointer;transition:filter .15s,transform .15s;-webkit-tap-highlight-color:transparent}
.wl-mj-face{display:block;width:100%;height:100%;padding:6%}
.wl-mj-tile.is-blocked{filter:brightness(.72) saturate(.7);cursor:default}
.wl-mj-tile.is-free:hover{transform:translate(-1px,-1px)}
.wl-mj-tile.is-selected{background:linear-gradient(160deg,#fff4d6,#ffd98f);border-color:#ff8a3d;outline:3px solid #ff8a3d;outline-offset:1px}
.wl-mj-tile.is-hint{outline:3px solid #4fb3ff;outline-offset:1px;animation:wl-mj-pulse 1s ease-in-out 3}
.wl-mj-tile:focus-visible{outline:3px solid #ffd77a;outline-offset:2px}
@keyframes wl-mj-pulse{50%{transform:translateY(-3px)}}
.wl-mj-status{min-height:2.4rem;margin:1.2rem 0 0;text-align:center;font-weight:600}
.wl-mj-tools{justify-content:center;flex-wrap:wrap}
.wl-mj-tools .wl-btn:disabled{opacity:.45;cursor:not-allowed}
.wl-mj-toggle{display:flex;justify-content:center;align-items:center;gap:.7rem;margin-top:1rem;font-size:1.5rem;cursor:pointer}
.wl-mj-toggle input{width:1.8rem;height:1.8rem;accent-color:var(--wl-link)}
.wl-mj-wrap:has(> [data-mj-over]:not([hidden])) .wl-mj-scroll{min-height:46rem}
@media (prefers-reduced-motion:reduce){.wl-mj-tile.is-hint{animation:none}.wl-mj-tile{transition:none}}
@media (max-width:600px){.wl-mj-scroll{padding:1rem .2rem;border-radius:var(--wl-radius-sm)}.wl-mj-deal{flex-basis:100%;text-align:center}}
