.kl.mj{--felt:#1a6b54;--felt-2:#125241;--felt-3:#0a372b;--felt-edge:#07221b;--mark-ink:#fff8e829;--mj-side:#31ad7e;--mj-side-dark:#197a56;--mj-tile-shadow:#03120d85;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 220'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.11' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M36 218C42 156 50 96 62 24' stroke-width='4.5'/%3E%3Cpath d='M78 218C80 164 86 118 96 64' stroke-width='3.2'/%3E%3Cpath d='M40 162H50M47 110H57M54 62H64M78 158H86M85 112H93' stroke-width='2.4'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.09'%3E%3Cpath d='M54 78C36 68 22 69 14 78C26 84 40 85 54 78Z'/%3E%3Cpath d='M57 52C76 41 94 42 106 50C91 58 73 59 57 52Z'/%3E%3Cpath d='M88 94C108 86 126 89 138 98C121 103 103 103 88 94Z'/%3E%3Cpath d='M45 128C26 120 14 124 8 134C22 138 35 137 45 128Z'/%3E%3C/g%3E%3C/svg%3E") left 1.2% bottom 10px / clamp(92px, 14%, 170px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 150'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.10' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M158 18C124 30 98 54 74 88M124 38L102 34M96 60L116 74'/%3E%3C/g%3E%3Cg fill='%23F7D89C' fill-opacity='0.11'%3E%3Ccircle cx='74' cy='88' r='8'/%3E%3Ccircle cx='65' cy='82' r='6'/%3E%3Ccircle cx='83' cy='82' r='6'/%3E%3Ccircle cx='68' cy='96' r='6'/%3E%3Ccircle cx='80' cy='96' r='6'/%3E%3Ccircle cx='102' cy='34' r='5.5'/%3E%3Ccircle cx='118' cy='76' r='6'/%3E%3C/g%3E%3C/svg%3E") right 1.2% top 12px / clamp(88px, 13%, 155px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 .06 0 0 0 0 .04 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23f)' opacity='.45'/%3E%3C/svg%3E")}[data-theme=dark] .kl.mj{--felt:#134f3e;--felt-2:#0d3c2f;--felt-3:#07261e;--felt-edge:#041611;--mark-ink:#fff8e821;--mj-side:#268e67;--mj-side-dark:#135e42;--mj-tile-shadow:#000000a3;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 220'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.07' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M36 218C42 156 50 96 62 24' stroke-width='4.5'/%3E%3Cpath d='M78 218C80 164 86 118 96 64' stroke-width='3.2'/%3E%3Cpath d='M40 162H50M47 110H57M54 62H64M78 158H86M85 112H93' stroke-width='2.4'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.06'%3E%3Cpath d='M54 78C36 68 22 69 14 78C26 84 40 85 54 78Z'/%3E%3Cpath d='M57 52C76 41 94 42 106 50C91 58 73 59 57 52Z'/%3E%3Cpath d='M88 94C108 86 126 89 138 98C121 103 103 103 88 94Z'/%3E%3Cpath d='M45 128C26 120 14 124 8 134C22 138 35 137 45 128Z'/%3E%3C/g%3E%3C/svg%3E") left 1.2% bottom 10px / clamp(92px, 14%, 170px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 150'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.07' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M158 18C124 30 98 54 74 88M124 38L102 34M96 60L116 74'/%3E%3C/g%3E%3Cg fill='%23F7D89C' fill-opacity='0.08'%3E%3Ccircle cx='74' cy='88' r='8'/%3E%3Ccircle cx='65' cy='82' r='6'/%3E%3Ccircle cx='83' cy='82' r='6'/%3E%3Ccircle cx='68' cy='96' r='6'/%3E%3Ccircle cx='80' cy='96' r='6'/%3E%3Ccircle cx='102' cy='34' r='5.5'/%3E%3Ccircle cx='118' cy='76' r='6'/%3E%3C/g%3E%3C/svg%3E") right 1.2% top 12px / clamp(88px, 13%, 155px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 .06 0 0 0 0 .04 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23f)' opacity='.45'/%3E%3C/svg%3E")}.kl.mj .mj-bar{z-index:40;color:#fff8e8;font:700 13px/1.2 var(--read);font-variant-numeric:tabular-nums;pointer-events:none;background:#081c16ad;border-radius:999px;align-items:center;gap:10px;padding:4px 12px;display:inline-flex;position:absolute;bottom:8px;left:14px;box-shadow:0 3px 10px #00000047}.kl.mj .mj-bar .mj-sep{opacity:.45}.kl.mj .mj-bar .mj-chain{color:var(--yellow);font-weight:800}.kl.mj .mj-bar .mj-chain[hidden]{display:none}.kl.mj .kl-btn--shuffle{color:var(--navy);background:linear-gradient(#ffdf5e,#f2b534)}.kl.mj .kl-card.mj-tile{width:var(--tw);height:var(--th);border-radius:calc(var(--tw) * .12);cursor:default;touch-action:manipulation;will-change:transform, opacity;filter:drop-shadow(calc(var(--td) * -.55) calc(var(--td) * .9) calc(var(--td) * .85) var(--mj-tile-shadow));background:0 0;border:0;padding:0;transition:transform .16s cubic-bezier(.16,1,.3,1),opacity .2s,filter .16s;position:absolute;top:0;left:0}.kl.mj .kl-board.no-anim .mj-tile{transition:none}.kl.mj .mj-tile:before{content:"";transform:translate(calc(var(--td) * -.7), calc(var(--td) * .78));border-radius:calc(var(--tw) * .12);background:linear-gradient(135deg, var(--mj-side) 0%, var(--mj-side-dark) 100%);position:absolute;inset:0;box-shadow:inset 1px -1px #fff3}.kl.mj .mj-tile:after{content:"";transform:translate(calc(var(--td) * -.32), calc(var(--td) * .36));border-radius:calc(var(--tw) * .12);background:linear-gradient(135deg,#ede0c4 0%,#cbb896 100%);position:absolute;inset:0}.kl.mj .mj-svg{z-index:2;pointer-events:none;width:100%;height:100%;display:block;position:relative}.kl.mj .mj-tile.is-free{cursor:pointer}@media (hover:hover){.kl.mj .mj-tile.is-free:hover{filter:brightness(1.04) drop-shadow(calc(var(--td) * -.7) calc(var(--td) * 1.2) calc(var(--td) * 1.1) #0000008c)}}.kl.mj .mj-tile.is-locked .mj-svg{filter:brightness(.81)saturate(.8)}.kl.mj .kl-hint-note{top:10px;bottom:auto}@media (height>=521px){.kl.mj:has(.kl-splash:not([hidden])) .kl-felt{min-height:410px}}.kl.mj .mj-tile.is-sel{box-shadow:none;filter:drop-shadow(0 0 4px #ffce1f)drop-shadow(0 8px 14px #0000008c);outline:none}.kl.mj .mj-tile.is-sel .mj-svg rect:first-of-type{fill:#fff6cc;stroke:#ffce1f;stroke-width:4.2px}.kl.mj .mj-tile.is-hint{filter:drop-shadow(0 0 4px #ffce1f)drop-shadow(0 0 11px #ffce1fd9)}.kl.mj .mj-tile.is-hint .mj-svg rect:first-of-type{stroke:#ffce1f;stroke-width:4px}.kl.mj .mj-tile:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.kl.mj .mj-tile.is-gone{opacity:0;pointer-events:none;visibility:hidden}.kl.mj .mj-tile.is-shake{animation:.26s mj-shake}@keyframes mj-shake{0%,to{margin-left:0}25%{margin-left:-4px}55%{margin-left:4px}80%{margin-left:-2px}}.kl.mj .mj-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:390px;display:grid}.kl.mj .mj-modes .kl-btn{justify-content:center;width:100%;padding:10px}.kl.mj .mj-modes [data-mode=tower]{grid-column:1/-1}.kl.mj .mj-modes .mj-mode--first{order:-1}.kl.mj .mj-modes .kl-btn>span{flex-direction:column;align-items:center;line-height:1.1;display:flex}.kl.mj .mj-modes .kl-btn small{font:700 12px/1.1 var(--read);letter-spacing:.02em;opacity:.76;text-transform:none;margin-top:3px;display:block}.kl.mj .kl-splash-btns{flex-direction:column;align-items:center;gap:8px;width:100%;max-width:390px;display:flex}.kl.mj .kl-splash-btns>.kl-btn{justify-content:center;width:100%}@media (width<=760px){.kl.mj .kl-hint-note{padding:5px 11px;font-size:12.5px;line-height:1.25;top:6px}.kl.mj .mj-bar{gap:7px;padding:3px 9px;font-size:12px;bottom:6px;left:8px}.kl.mj .kl-mark{letter-spacing:.24em;font-size:11px;bottom:6px;left:auto;right:10px}.kl.mj .mj-modes .kl-btn{padding:9px 8px;font-size:13px}}@media (height<=520px){.kl.mj .kl-hud{flex-wrap:nowrap;gap:6px;padding:5px 10px}.kl.mj .kl-stats{gap:4px;width:auto}.kl.mj .kl-stat{flex:none;min-width:52px;padding:2px 8px 3px}.kl.mj .kl-stat dt{font-size:11px}.kl.mj .kl-stat dd{margin-top:1px;font-size:14px}.kl.mj .kl-btns{gap:4px;width:auto}.kl.mj .kl-wide,.kl.mj .kl-splash-logo,.kl.mj .kl-splash-sub{display:none}.kl.mj .kl-splash-in{gap:6px;padding:10px 14px}.kl.mj .mj-modes{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:600px}.kl.mj .mj-modes [data-mode=tower]{grid-column:auto}.kl.mj .mj-modes .mj-mode--first{order:0}.kl.mj .mj-modes .kl-btn{padding:7px 6px;font-size:12px}.kl.mj .mj-modes .kl-btn small{display:none}.kl.mj .mj-bar{padding:2px 8px;font-size:11px;bottom:4px}.kl.mj .kl-mark{display:none}}@media (width<=340px){.kl.mj [data-act=mode] svg{display:none}}@media (prefers-reduced-motion:reduce){.kl.mj .kl-card.mj-tile,.kl.mj .mj-tile.is-shake{transition:none;animation:none}}.kl.mj .kl-tabs{flex-wrap:wrap}.kl.mj .kl-tabs button{flex:calc(33.333% - 4px);min-height:44px}
