/* The club uses the same evergreen, cranberry and warm paper as the hunt. */
[hidden]{display:none!important}
.mahjong-vip-badge{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #e6ca82;border-radius:20px;background:var(--village-gold);color:var(--village-umber);font-size:12px;font-weight:800;line-height:1.3;letter-spacing:.3px}
.mahjong-vip-panel{padding:23px;border:1px solid #bba565;border-radius:15px;background:radial-gradient(ellipse at top right,#365b42,var(--village-deep-spruce));color:#fff3d8;text-align:center}
.mahjong-vip-panel h3{margin:12px 0;font:34px Georgia,serif}.mahjong-vip-panel p{font-size:15px;line-height:1.6;margin:10px auto;max-width:470px;color:#d9e1c9}.mahjong-vip-panel .play-primary{margin-top:12px;border-color:#e1c081;background:var(--village-gold);color:var(--village-umber)}.mahjong-vip-panel .play-primary:disabled{opacity:.55}
body:not([data-area="hunt"]) .game-head,body:not([data-area="hunt"]) #team-penalty,body:not([data-area="hunt"]) #restart,body:not([data-area="hunt"]) #help,body:not([data-area="hunt"]) #sound,body:not([data-area="hunt"]) #overlay{display:none!important}
body:not([data-area="hunt"]) header{border-bottom-color:#b9cbad33}
body:not([data-area="hunt"]) .nav{max-width:1180px;margin:auto;height:68px;padding-inline:24px}
body:not([data-area="hunt"]) .brand{font-size:25px;letter-spacing:-.7px}
body:not([data-area="hunt"]) .brand img{width:32px;height:38px}
body:not([data-area="hunt"]) main{overflow:auto;background:var(--village-midnight)}
.play-hub{min-height:100%;color:#fff3d8;background:radial-gradient(ellipse at 82% 0,#3d6250 0,transparent 55%),#153d31}
.hub-inner{max-width:1180px;margin:auto;padding:35px 32px 16px}
.club-eyebrow{font-size:12px!important;font-weight:700;letter-spacing:1.9px;text-transform:uppercase;line-height:1.6;color:#e3c88e!important}
.hub-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:15px;gap:12px}
.hub-heading h2{font:400 25px Georgia,serif}.hub-heading>span{font-size:14px;color:#c0d0bf}
.game-shelves{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.game-door{border:1px solid #d5c9a7;border-radius:16px;overflow:hidden;background:var(--village-snow);color:var(--village-ink);box-shadow:0 12px 32px #051f2030}
.door-art{height:clamp(160px,21vw,240px);position:relative;overflow:hidden;border-bottom:1px solid #d9c99f}
.hunt-art{background:linear-gradient(0deg,#163d2355,#0000 65%),url('art/workshop.webp') center 53%/cover}
.door-label{position:absolute;top:17px;left:18px;z-index:2;border:1px solid #e8dfb475;padding:7px 12px;border-radius:18px;background:#163d30ec;color:#fff0cd;font-size:13px;font-weight:650}
.hunt-art>img{position:absolute;object-fit:contain;filter:drop-shadow(3px 8px 6px #0006)}
.floating-cane{width:65px;height:105px;bottom:15px;right:85px;transform:rotate(-20deg)}
.floating-cookie{width:80px;height:95px;bottom:7px;right:10px;transform:rotate(10deg)}
.mahjong-art{background:radial-gradient(ellipse at 50% 20%,#c16b6e,#742d44);isolation:isolate}
.mahjong-art:before,.mahjong-art:after{content:'✦';position:absolute;color:#f2d9a377;font:60px Georgia;left:10%;bottom:16%}.mahjong-art:after{left:auto;right:9%;bottom:46%;font-size:24px}
.tile-still-life{position:absolute;inset:30px 0 15px;display:flex;align-items:center;justify-content:center;transform:rotate(-10deg)}
.tile-still-life span{display:grid;place-items:center;width:clamp(65px,8vw,95px);height:clamp(88px,11vw,125px);border:2px solid #fff9e2;border-radius:10px;background:linear-gradient(110deg,#fff9e9,#efe0b9);box-shadow:0 7px 0 #b5ad8b,4px 12px 8px #401a3055;margin:0 -4px}
.tile-still-life span:nth-child(2){transform:translateY(-13px) rotate(16deg);z-index:1}.tile-still-life span:last-child{transform:rotate(12deg)}
.tile-still-life img{width:70%;height:72%;object-fit:contain;filter:drop-shadow(1px 3px 1px #68472722)}
.door-copy{padding:21px 24px 24px}
.game-kind{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#7a4e3c}
.game-kind>span{font-size:12px;letter-spacing:0;text-transform:none;font-weight:500;color:#64705d;border-left:1px solid #c8c8af;padding-left:9px}
.door-copy h2{font-size:34px;font-weight:400;letter-spacing:-.9px;margin:9px 0 10px}
.door-copy>p{font-size:16px;line-height:1.55;color:#52614b;max-width:440px}
.door-copy .door-progress{font-size:14px;margin:16px 0 19px;color:#7c6948}
.door-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.play-primary{border:1px solid var(--village-ink);border-radius:25px;padding:12px 20px;background:var(--village-ink);color:var(--village-frost);font-size:15px;font-weight:700;min-height:44px}
.play-primary:hover{background:#123d29}.play-text{border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:4px;padding:10px 8px;font-size:14px;min-height:44px}
.hub-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:22px;border-top:1px solid #829d773f;padding-top:12px;font-size:14px;color:#cbd9c5}.hub-footer>div{display:flex;gap:10px}
.mahjong-top h1:focus{outline:none}
.mahjong-area{height:100%;min-height:510px;display:flex;flex-direction:column;padding:20px 24px 12px;color:var(--village-frost);background:radial-gradient(ellipse at center,var(--village-spruce),var(--village-deep-spruce) 75%)}
.mahjong-top,.mahjong-rule,.mahjong-bottom{width:min(900px,100%);margin-inline:auto}
.mahjong-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.mahjong-top h1{font-size:36px;font-weight:400;letter-spacing:-1px;margin-top:2px}
.mahjong-tally{display:flex;align-items:baseline;gap:7px;color:#e2d5b4}.mahjong-tally strong{font:36px Georgia,serif;font-variant-numeric:tabular-nums}.mahjong-tally span{font-size:14px}
.mahjong-rule{font-size:14px;line-height:1.5;color:var(--village-ice);margin-top:8px}
.mahjong-table{container-type:size;position:relative;flex:1;min-height:260px;display:grid;place-items:center;width:100%;margin:12px 0}
#mahjong-board{position:relative;width:min(820px,96cqw,calc(92cqh * 1.235));aspect-ratio:1.235;isolation:isolate}
.mahjong-tile{position:absolute;left:calc(var(--x)*12.15% + var(--z)*.55%);top:calc(var(--y)*15.9% - var(--z)*1.1% + 3%);width:11.6%;height:15.15%;display:grid;place-items:center;padding:6px;border:1px solid #aeb799;border-radius:7px;background:linear-gradient(115deg,#fff9e9,#ece3c8);box-shadow:0 4px 0 #acb89c,1px 7px 4px #082c2477;transition:filter .15s,transform .15s}
.mahjong-tile img{position:absolute;inset:12%;width:76%;height:76%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #553b1922)}
.mahjong-tile.blocked{background:linear-gradient(115deg,#dcdcc7,#bdc6ac)}.mahjong-tile.blocked img{filter:brightness(.72) saturate(.7)}
.mahjong-tile.free:hover{transform:translateY(-3px);background:#fffdf1}
.mahjong-tile.selected{outline:3px solid #f9ce6b;outline-offset:1px;transform:translateY(-4px);background:#fff1b7}
.mahjong-tile.hinted{outline:3px solid #f9ce6b;outline-offset:1px;background:#fff1b7;filter:drop-shadow(0 0 7px #f7d35d)}
.mahjong-tile:focus-visible{outline:3px solid #f9ce6b;outline-offset:2px}
.mahjong-bottom{text-align:center}.mahjong-bottom>p{min-height:22px;font-size:14px;color:#ebdfbf;line-height:1.5}.mahjong-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.mahjong-actions button,#mahjong-new-confirm button{min-height:42px;padding:8px 18px;font-size:14px;border:1px solid #8eaa8c;border-radius:24px;background:#ffffff0b;color:var(--village-frost)}.mahjong-actions button:hover{background:#ffffff20}.mahjong-actions button:disabled{opacity:.4}
.mahjong-finish{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;text-align:center;padding:16px;background:#143e31f2;border:1px solid #84986e66;border-radius:18px}.mahjong-finish>span{font-size:50px;color:var(--village-gold)}.mahjong-finish h2{font-size:38px;font-weight:400}.mahjong-finish p{font-size:16px;line-height:1.5}
@media(max-width:650px){body:not([data-area="hunt"]) .nav{height:58px;padding-inline:15px}body:not([data-area="hunt"]) .brand{font-size:22px}.hub-inner{padding:22px 18px 16px}.club-eyebrow{font-size:10px!important;letter-spacing:1.3px}.hub-heading h2{font-size:23px}.hub-heading>span{display:none}.game-shelves{grid-template-columns:1fr;gap:20px}.door-art{height:180px}.door-copy{padding:19px 20px 21px}.door-copy h2{font-size:32px}.tile-still-life{inset:30px 0 14px}.tile-still-life span{width:80px;height:105px}.hub-footer{align-items:flex-start;flex-direction:column;gap:3px}.hub-footer>div{margin-left:-8px}.mahjong-area{padding:16px 12px 10px;min-height:500px}.mahjong-top h1{font-size:31px}.mahjong-tally strong{font-size:31px}.mahjong-rule{font-size:14px}.mahjong-tile{border-radius:5px;padding:1px}.mahjong-table{margin:8px 0;min-height:250px}.mahjong-actions{gap:6px}.mahjong-actions button{padding-inline:13px;min-height:44px}}
@media(max-height:600px) and (min-width:651px){body:not([data-area="hunt"]) .nav{height:45px}.mahjong-area{min-height:340px;padding:12px 20px;display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:8px 18px}.mahjong-top{grid-column:1;grid-row:1;flex-direction:column;align-items:flex-start;gap:6px}.mahjong-top h1{font-size:29px;line-height:1.05}.mahjong-top .club-eyebrow{display:none}.mahjong-tally strong{font-size:26px}.mahjong-rule{grid-column:1;grid-row:2;margin-top:0;font-size:14px}.mahjong-table{grid-column:2;grid-row:1/4;min-height:0;margin:0;height:100%}.mahjong-bottom{grid-column:1;grid-row:3;align-self:end;text-align:left}.mahjong-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.mahjong-actions button{min-height:40px;padding:5px 8px}.mahjong-bottom>p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.mahjong-tile{transition:none}}
@media(max-width:650px){body[data-area="hunt"] .brand span{display:none}}
/* A ten-level path through each difficulty, with independently uncovered piles. */
.mahjong-levels-open{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:5px 11px;border:1px solid #bba97a88;border-radius:20px;background:#ffffff09;color:#f1d59d;font-size:14px;font-weight:700}.mahjong-levels-open:after{content:'▾';font-size:13px}.mahjong-levels-open:hover{background:#ffffff18}
#mahjong-level-detail{font-size:13px;line-height:1.5;color:var(--village-ice);margin-top:3px}
#mahjong-playfield{position:relative;width:min(820px,96cqw,calc(92cqh * 1.235));aspect-ratio:1.235;display:grid;place-items:center}
#mahjong-board{width:100%}
#mahjong-piles{width:100%;text-align:center;color:#e5d7b6}
#mahjong-piles>p{font:20px Georgia,serif;margin:0 0 10px}
#mahjong-piles>small{display:block;font-size:12px;line-height:1.4;margin-top:12px;color:#c3d0b9}
#mahjong-pile-row{display:flex;justify-content:center;gap:18px}
.mahjong-pile{display:flex;flex-direction:column;gap:6px;align-items:center;width:58px;flex:none}
.pile-label,.pile-count{font-size:12px;line-height:1.3;white-space:nowrap}.pile-count{color:#c4d2b9}
.mahjong-pile .mahjong-tile{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:.82;transform:none;box-shadow:0 4px 0 #9fab8b,0 7px 0 #6a805f,1px 9px 5px #082c2477}
.mahjong-pile .mahjong-tile.free:hover{transform:translateY(-2px)}
.pile-empty{display:grid;place-items:center;width:100%;aspect-ratio:.82;border:1px dashed #7a9d77;border-radius:7px;color:#a6c395;font-size:22px}
.has-piles #mahjong-playfield{width:min(920px,96cqw,calc(92cqh * 1.55));aspect-ratio:1.55;display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:20px}
.has-piles #mahjong-pile-row{display:grid;grid-template-columns:repeat(2,58px);gap:18px 12px}
.has-piles #mahjong-piles{align-self:center}.has-piles #mahjong-piles>small{margin-top:14px}
.mahjong-finish{z-index:90}.mahjong-finish #mahjong-unlock{color:#e7ca8a;font-size:15px;max-width:500px}
#mahjong-levels{width:min(700px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border:1px solid #b4a16d;border-radius:20px;background:var(--village-snow);color:var(--village-ink);box-shadow:0 22px 70px #082c2477}
#mahjong-levels::backdrop{background:#102e24b8;backdrop-filter:blur(6px)}
.mahjong-levels-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.mahjong-levels-heading h2{font-size:32px;font-weight:400;margin:8px 0}.mahjong-levels-heading .club-eyebrow{color:#84622f!important}.mahjong-levels-heading p:not(.club-eyebrow){font-size:14px;color:#627155}
#mahjong-levels-close{width:36px;height:36px;border:1px solid #b1baa4;border-radius:50%;font-size:23px;background:transparent;flex:none}
#mahjong-level-tiers{display:flex;gap:7px;margin:20px 0 14px}#mahjong-level-tiers button{flex:1;min-height:44px;padding:8px;border:1px solid #aebda3;border-radius:22px;background:#edf0e3;color:var(--village-ink);font-size:14px}#mahjong-level-tiers button[aria-pressed=true]{background:var(--village-ink);color:var(--village-frost)}
#mahjong-levels-info{font-size:15px;line-height:1.5;color:#596b4d;margin-bottom:18px;min-height:45px}
#mahjong-level-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mahjong-level{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 5px;border:1px solid #b0bea3;border-radius:12px;background:#f2ecd9;color:var(--village-ink)}.mahjong-level strong{font:28px Georgia,serif}.mahjong-level span{font-size:13px}.mahjong-level small{font-size:11px;line-height:1.4;color:#68765b}.mahjong-level:disabled{opacity:.5}.mahjong-level.current{outline:2px solid #b38637;outline-offset:1px}.mahjong-level.cleared{background:var(--village-mint)}
@media(max-width:650px){.mahjong-top h1{font-size:29px;margin-top:5px}.mahjong-area{min-height:560px}.mahjong-levels-open{font-size:13px}.has-piles #mahjong-playfield{width:min(820px,96cqw,calc(92cqh * .92));aspect-ratio:.92;display:flex;flex-direction:column;justify-content:center;gap:12px}.has-piles #mahjong-pile-row{display:flex;gap:16px}.mahjong-pile{width:46px}.has-piles #mahjong-piles>p{display:none}.has-piles #mahjong-piles>small{margin-top:10px;font-size:11px}.pile-label,.pile-count{font-size:11px}.mahjong-finish h2{font-size:29px}.mahjong-finish p{font-size:14px}.mahjong-finish{gap:10px}.mahjong-finish>span{font-size:30px}#mahjong-levels{padding:18px}.mahjong-levels-heading h2{font-size:27px}#mahjong-level-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mahjong-level{padding:10px}.mahjong-level small{font-size:12px}.mahjong-level span{font-size:14px}}
@media(max-height:600px) and (min-width:651px){.mahjong-area{grid-template-columns:190px minmax(0,1fr);gap:4px 12px;min-height:340px;padding-block:4px}.mahjong-top h1{font-size:26px;margin-top:5px}.mahjong-levels-open{min-height:28px;font-size:13px;padding:3px 9px}.mahjong-top{gap:4px}#mahjong-level-detail{font-size:12px}.mahjong-tally strong{font-size:23px}.mahjong-rule{font-size:13px}.mahjong-bottom>p{font-size:12px}.mahjong-actions{gap:5px;margin-top:4px}.mahjong-actions button{font-size:12px;min-height:34px;padding:5px}.has-piles #mahjong-playfield{width:min(920px,98cqw,calc(92cqh * 1.55));grid-template-columns:minmax(0,1fr) 90px;gap:12px}.has-piles #mahjong-pile-row{grid-template-columns:repeat(2,36px);gap:14px 10px}.mahjong-pile{width:36px}#mahjong-piles>p{font-size:16px}.pile-label,.pile-count{font-size:10px}#mahjong-piles>small{font-size:11px}}

/* Club wallet and game rewards. */
#burrow-wallet{font-variant-numeric:tabular-nums;border-color:#c5a95b88;background:#e6c46b0f;padding:2px 10px 2px 5px;color:#ffe9ac}
#burrow-wallet img{flex:none;object-fit:contain;filter:drop-shadow(0 1px 1px #0f2929)}
body[data-area="burrow"] #burrow-wallet{display:none}
.meer-toast{position:fixed;inset:auto max(14px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;z-index:110;max-width:calc(100vw - 28px);display:flex;align-items:center;gap:8px;padding:8px 15px 8px 8px;border:1px solid #bca26a;border-radius:28px;background:var(--village-gold-paper);color:#47351e;box-shadow:0 5px 20px #31260f55;font-size:15px;font-weight:700;pointer-events:none;opacity:0;transform:translateY(12px);transition:transform .18s ease,opacity .18s ease}
.meer-toast img{width:32px;height:32px}.meer-toast.visible{opacity:1;transform:none}
@media(max-width:560px){body:not([data-area="hunt"]) .nav{gap:5px;padding-inline:10px}body:not([data-area="hunt"]) .brand{font-size:clamp(17px,5.1vw,22px)}body:not([data-area="hunt"]) .brand img{width:25px;height:31px}}
@media(max-width:480px),(max-height:480px) and (max-width:950px){body[data-area="hunt"] #burrow-wallet{display:none}}

.meer-toast.visible button {pointer-events:auto;font:inherit;border:1px solid #aa945f;background:#fffaec;border-radius:20px;padding:5px 10px;color:inherit}
