/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--cream:#fff4cf;--ink:#163f3b;--teal:#176c62;--coral:#d94f3e;--yellow:#ffd45b;--wood:#9a532f;--wood-dark:#512b1c;--green:#68a965}*{box-sizing:border-box}button{font:inherit}body{color:var(--ink);background:#84d4ce;margin:0;font-family:Trebuchet MS,Arial,sans-serif}.game-shell{background:linear-gradient(#7bd5d1 0 52%,#b6dc86 52% 100%);min-height:100svh;padding:clamp(14px,2.4vw,34px) clamp(12px,2.2vw,36px) 24px;position:relative;overflow:hidden}.sun{aspect-ratio:1;background:#ffe071;border-radius:50%;width:clamp(90px,11vw,165px);position:absolute;top:5%;right:6%;box-shadow:0 0 0 18px #ffe88b66}.cloud{background:#fff9e9cc;border-radius:50px;width:150px;height:40px;position:absolute}.cloud:before,.cloud:after{content:"";background:inherit;border-radius:50%;position:absolute}.cloud:before{width:62px;height:62px;bottom:2px;left:23px}.cloud:after{width:76px;height:76px;bottom:0;right:18px}.cloud-one{top:18%;left:5%;transform:scale(.8)}.cloud-two{top:14%;right:21%;transform:scale(.55)}.hill{border-radius:50% 50% 0 0;width:70%;height:48%;position:absolute;bottom:-20%}.hill-one{background:#79b86c;left:-24%}.hill-two{background:#549b61;bottom:-15%;right:-24%}.kampung-house{opacity:.72;background:#a35a32;border:6px solid #713b27;width:100px;height:70px;position:absolute;bottom:10%;left:2.5%}.kampung-house:before{content:"";border-bottom:55px solid #6e3826;border-left:68px solid #0000;border-right:68px solid #0000;position:absolute;top:-52px;left:-24px}.kampung-house i{background:#174e49;width:26px;height:42px;position:absolute;bottom:0;left:34px}.kampung-house b{background:#64331f;width:7px;height:35px;position:absolute;bottom:-35px;left:10px;box-shadow:70px 0 #64331f}.game-header{z-index:2;justify-content:space-between;align-items:center;gap:18px;max-width:1500px;margin:auto;display:flex;position:relative}.brand-card{border:4px solid var(--teal);background:#fff5d8;border-radius:25px;align-items:center;gap:13px;padding:10px 20px 11px;display:flex;box-shadow:0 7px #11544e}.brand-card h1{color:var(--coral);text-shadow:0 2px #fff;margin:0;font-size:clamp(25px,3vw,47px);line-height:1}.brand-card p{margin:6px 0 0;font-size:clamp(12px,1.2vw,17px);font-weight:800}.flower{color:var(--coral);font-size:clamp(30px,4vw,57px)}.toolbar{align-items:center;gap:9px;display:flex}.toolbar button{cursor:pointer;border:0}.level-control{border:3px solid var(--teal);height:49px;color:var(--teal);background:#fff5d8;border-radius:14px;align-items:center;gap:7px;padding:4px 7px 4px 11px;font-weight:900;display:flex;box-shadow:0 5px #155e56}.level-control span{white-space:nowrap}.level-control select{background:var(--yellow);color:#713c25;cursor:pointer;border:0;border-radius:9px;height:34px;padding:0 27px 0 9px;font-weight:900}.language-switch{border:3px solid var(--teal);background:#fff5d8;border-radius:14px;padding:3px;display:flex}.language-switch button{color:var(--teal);background:0 0;border-radius:9px;padding:8px 10px;font-weight:900}.language-switch button.selected{background:var(--teal);color:#fff}.tool-button,.reset-button{min-width:47px;height:47px;color:var(--teal);background:#fff5d8;border-radius:14px;padding:0 14px;font-weight:900;box-shadow:0 5px #155e56}.reset-button{background:var(--yellow);color:#713c25;box-shadow:0 5px #b2692c}.tool-button:active,.reset-button:active{transform:translateY(3px);box-shadow:0 2px #155e56}.play-area{z-index:2;flex-direction:column;align-items:center;max-width:1540px;margin:16px auto 0;display:flex;position:relative}.turn-banner{background:var(--coral);color:#fff;z-index:4;text-align:center;border:4px solid #fff0c4;border-radius:25px;align-items:center;gap:10px;min-height:50px;padding:10px 25px;font-size:clamp(15px,1.7vw,22px);font-weight:900;display:flex;box-shadow:0 6px #a8382e}.turn-banner span{color:var(--yellow);font-size:25px}.turn-banner.finished{background:#1e7768;box-shadow:0 6px #124b45}.player-label{border:3px solid var(--teal);z-index:3;background:#fff5d8;border-radius:18px;align-items:center;gap:9px;padding:6px 10px 6px 7px;font-size:15px;display:flex;box-shadow:0 4px #13584f}.player-label strong{background:var(--yellow);color:#63351f;border-radius:50%;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.player-label.opponent{margin:7px 0 -6px}.player-label.you{margin:-5px 0 0}.avatar{color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;font-size:21px;display:grid}.avatar.robot{background:#4c7c72}.avatar.child{background:var(--coral)}.edit-name{color:#653720;cursor:pointer;background:#e6c983;border:0;border-radius:50%;width:29px;height:29px;font-size:17px;font-weight:900;box-shadow:0 3px #b88a48}.edit-name:hover{background:var(--yellow)}.edit-name:active{transform:translateY(2px);box-shadow:0 1px #b88a48}.congkak-board{background:radial-gradient(#bd7443 0%,#9c572f 52%,#713821 100%);border:clamp(7px,1vw,12px) solid #66351f;border-radius:18%/48%;grid-template-columns:minmax(118px,165px) minmax(0,1fr) minmax(118px,165px);align-items:center;gap:clamp(12px,1.6vw,24px);width:min(100%,1500px);padding:clamp(34px,4vw,58px) clamp(28px,3.5vw,58px);display:grid;position:relative;box-shadow:inset 0 0 0 5px #d69352,inset 0 -14px 22px #4a261a99,0 15px #4d291c,0 25px 35px #174b4055}.congkak-board:before{content:"";border-radius:inherit;pointer-events:none;border:2px dashed #e3a85f88;position:absolute;inset:13px}.congkak-board:after{content:"";pointer-events:none;border-radius:18%/48%;position:absolute;inset:24px 2.6%;box-shadow:inset 0 0 26px #e4a45c40}.carving{color:#e7ad65;letter-spacing:8px;font-size:clamp(14px,2vw,25px);position:absolute;left:50%;transform:translate(-50%)}.top-carving{top:7px}.bottom-carving{bottom:5px}.store{aspect-ratio:1;background:#48271e;border:clamp(5px,.7vw,8px) solid #d49352;border-radius:50%;place-items:center;width:100%;height:auto;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 15px 25px #211216,inset 0 -5px 10px #c07b3c44,0 5px #532a1c}.store strong{background:var(--yellow);color:#653720;z-index:20;border:3px solid #fff1c0;border-radius:20px;place-items:center;min-width:38px;height:38px;padding:0 9px;font-size:21px;display:grid;position:absolute;bottom:11%}.pit-grid{flex-direction:column;gap:clamp(8px,1vw,13px);display:flex}.pit-row{grid-template-columns:repeat(7,1fr);gap:clamp(5px,1.15vw,15px);display:grid}.pit{aspect-ratio:1;color:#fff;background:#4c2b22;border:clamp(4px,.6vw,7px) solid #d89451;border-radius:50%;place-items:center;min-width:0;padding:0;transition:transform .18s,filter .18s,border-color .18s;display:grid;position:relative;box-shadow:inset 0 11px 18px #241318,inset 0 -3px 7px #b16c3844,0 4px #572b1c}.player-row .pit:not(:disabled){cursor:pointer;border-color:#ffd65e;animation:1.8s ease-in-out infinite ready}.player-row .pit:not(:disabled):hover{filter:brightness(1.16);transform:translateY(-5px)scale(1.05)}.pit.active{filter:brightness(1.25);z-index:2;border-color:#fff4bd;transform:scale(1.08)}.pit:disabled{opacity:1}.count{color:#683822;z-index:22;background:#fff2c5;border:2px solid #7b442b;border-radius:50%;place-items:center;min-width:27px;height:27px;font-size:13px;font-weight:900;display:grid;position:absolute;bottom:-3px;right:-2px}.batik-band{color:#ffcf58;opacity:.85;justify-content:space-around;align-items:center;height:13px;display:flex}.batik-band i{border-top:3px dotted #f0b25b;width:15%;height:5px}.seed-cluster{width:78%;height:78%;display:block;position:relative}.seed-cluster i{aspect-ratio:.88;width:clamp(8px,1.2vw,16px);left:var(--x);top:var(--y);z-index:var(--z);transform:translate(-50%,-50%) rotate(var(--r)) scale(var(--s));background:radial-gradient(circle at 32% 25%,#fff8 0 8%,transparent 10%),hsl(calc(12 + var(--seed)*43) 70% 56%);border-radius:52% 48% 43% 57%/47% 55% 45% 53%;transition:left .16s,top .16s,transform .16s;position:absolute;box-shadow:inset -3px -4px 3px #4c221f66,0 2px 3px #1119}.seed-cluster b{z-index:30;color:#ffe269;background:#7d3c28;border:2px solid #efad55;border-radius:50%;place-items:center;min-width:28px;height:28px;padding:0 4px;font-size:11px;display:grid;position:absolute;top:-8px;right:-8px}.hint{text-align:center;background:#fff4cfdd;border-radius:18px;margin:17px 0 0;padding:9px 18px;font-size:clamp(13px,1.3vw,17px);font-weight:800}.hint span{color:var(--coral);margin-right:8px}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#123d37a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.help-card{border:6px solid var(--teal);background:#fff6d9;border-radius:30px;width:min(620px,100%);max-height:90vh;padding:25px 28px 28px;position:relative;overflow:auto;box-shadow:0 14px #0e5149,0 25px 60px #092d28}.help-card h2{text-align:center;color:var(--coral);margin:0 0 18px;font-size:32px}.help-flower{text-align:center;color:var(--coral);font-size:42px;display:block}.close{color:#60351f;cursor:pointer;background:#e8c98a;border:0;border-radius:50%;width:39px;height:39px;font-size:25px;font-weight:900;position:absolute;top:13px;right:14px}.help-card ol{gap:11px;margin:0;padding:0;list-style:none;display:grid}.help-card li{background:#f7e8b9;border-radius:15px;align-items:flex-start;gap:12px;padding:11px 13px;line-height:1.35;display:flex}.help-card li b{background:var(--teal);color:#fff;border-radius:50%;flex:0 0 29px;place-items:center;height:29px;display:grid}.understand{background:var(--coral);color:#fff;cursor:pointer;border:0;border-radius:16px;margin:20px auto 0;padding:13px 24px;font-weight:900;display:block;box-shadow:0 5px #9c372e}.understand:disabled{opacity:.45;cursor:not-allowed}.name-card{width:min(470px,100%)}.name-form{gap:10px;display:grid}.name-form label{color:var(--teal);font-weight:900}.name-form input{width:100%;color:var(--ink);background:#fffdf2;border:4px solid #d2ad61;border-radius:16px;outline:none;padding:13px 15px;font:900 21px Trebuchet MS,sans-serif}.name-form input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #176c6230}.name-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:7px;display:flex}.name-actions .understand{margin:0}.cancel-name{color:#6e4a34;cursor:pointer;background:0 0;border:0;padding:12px;font-weight:900}.result-backdrop{z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#103d36b8;place-items:center;padding:20px;animation:.28s ease-out result-fade;display:grid;position:fixed;inset:0}.result-card{text-align:center;border:8px solid var(--teal);background:linear-gradient(160deg,#fff9de,#f7e1a8);border-radius:44px;width:min(680px,94vw);padding:35px 42px 38px;animation:.45s cubic-bezier(.2,1.5,.45,1) result-pop;position:relative;overflow:hidden;box-shadow:0 16px #0e5149,0 30px 80px #092d28}.result-card.result-1{border-color:#17806e}.result-card.result-2{border-color:#cb5543}.result-card.result-0{border-color:#d19b2c}.result-close{z-index:5;color:#60351f;cursor:pointer;background:#e7c980;border:0;border-radius:50%;width:43px;height:43px;font-size:28px;font-weight:900;position:absolute;top:15px;right:17px}.result-icon{z-index:2;background:var(--yellow);color:#c04b36;border:7px solid #fff7d0;border-radius:50%;place-items:center;width:105px;height:105px;margin:0 auto 9px;font-size:64px;animation:1.2s ease-in-out infinite result-icon;display:grid;position:relative;box-shadow:0 8px #c78e2e}.result-2 .result-icon{color:#8f3029;background:#f2a78f;box-shadow:0 8px #b84b3e}.result-kicker{color:var(--teal);text-transform:uppercase;letter-spacing:3px;margin:15px 0 4px;font-size:14px;font-weight:900}.result-card h2{color:var(--coral);margin:0;font-size:clamp(34px,6vw,61px);line-height:1.05}.result-subtitle{color:#365c55;margin:10px 0 23px;font-size:clamp(16px,2.2vw,21px);font-weight:800}.final-scores{justify-content:center;align-items:center;gap:15px;margin:0 auto 24px;display:flex}.final-scores>div{background:#fff8dd;border:4px solid #d6a657;border-radius:20px;grid-template-columns:auto minmax(65px,auto) auto;align-items:center;gap:9px;padding:8px 11px;display:grid;box-shadow:0 5px #ae7138}.final-scores>div.score-winner{border-color:var(--teal);box-shadow:0 5px #0e5149}.final-scores strong{background:var(--yellow);color:#6e371c;border-radius:50%;place-items:center;min-width:46px;height:46px;font-size:25px;display:grid}.score-divider{color:#a76b35;font-size:26px;font-weight:900}.play-again{background:var(--coral);color:#fff;cursor:pointer;border:0;border-radius:20px;align-items:center;gap:10px;padding:15px 29px;font-size:22px;font-weight:900;display:inline-flex;box-shadow:0 7px #9c372e}.play-again:hover{filter:brightness(1.08);transform:translateY(-2px)}.play-again:active{transform:translateY(4px);box-shadow:0 3px #9c372e}.confetti{pointer-events:none;position:absolute;inset:0}.confetti i{left:calc(2% + var(--piece)*5.4%);background:hsl(calc(var(--piece)*47) 77% 56%);width:11px;height:23px;transform:rotate(calc(var(--piece)*29deg));animation:confetti-fall calc(1.8s + var(--piece)*60ms) ease-in infinite;animation-delay:calc(var(--piece)*-.11s);border-radius:3px;position:absolute;top:-20px}@keyframes result-fade{0%{opacity:0}to{opacity:1}}@keyframes result-pop{0%{opacity:0;transform:scale(.65)translateY(50px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes result-icon{0%,to{transform:rotate(-4deg)scale(1)}50%{transform:rotate(4deg)scale(1.06)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-25px)rotate(0)}12%{opacity:1}to{opacity:.8;transform:translateY(610px)rotate(520deg)}}@keyframes ready{0%,to{box-shadow:inset 0 11px 18px #241318,0 4px #572b1c,0 0 #ffd65e00}50%{box-shadow:inset 0 11px 18px #241318,0 4px #572b1c,0 0 0 5px #ffd65e55}}@media (width<=980px){.level-control span{display:none}.level-control{padding:4px 6px}.level-control select{padding-left:7px}}@media (width<=820px){.game-shell{padding:12px 8px 20px}.game-header{align-items:flex-start}.brand-card{padding:9px 12px}.flower,.brand-card p,.tool-button span,.reset-button span{display:none}.toolbar{flex-wrap:wrap;justify-content:flex-end;gap:5px}.level-control{height:41px;box-shadow:0 4px #155e56}.level-control select{max-width:100px;height:29px}.tool-button,.reset-button{min-width:41px;height:41px;padding:0 9px}.language-switch button{padding:6px 8px}.play-area{margin-top:10px}.turn-banner{min-height:43px;padding:7px 16px}.congkak-board{border-radius:18%/47%;grid-template-columns:68px minmax(0,1fr) 68px;gap:7px;padding:31px 16px}.store{aspect-ratio:1;border-radius:50%;width:100%;height:auto}.pit-row{gap:3px}.pit{border-width:3px}.count{border-width:1px;min-width:20px;height:20px;font-size:10px}.seed-cluster i{width:clamp(5px,1.5vw,10px)}.batik-band{height:7px}.carving{font-size:11px}.cloud,.kampung-house{display:none}}@media (width<=480px){.brand-card h1{font-size:21px}.brand-card{border-width:3px;border-radius:17px;box-shadow:0 4px #11544e}.game-header{gap:7px}.language-switch{border-width:2px}.tool-button{display:none}.congkak-board{border-width:6px;border-radius:17%/46%;grid-template-columns:50px minmax(0,1fr) 50px;gap:4px;padding:27px 8px}.store{aspect-ratio:1;border-width:4px;border-radius:50%;width:100%;height:auto}.store strong{border-width:2px;min-width:27px;height:27px;font-size:14px;bottom:7px}.pit-grid{gap:5px}.pit-row{gap:2px}.pit{border-width:2px}.count{bottom:-5px;right:-3px}.player-label{font-size:13px}.avatar{width:28px;height:28px}.player-label strong{width:29px;height:29px;font-size:15px}.hint{margin-top:12px}.turn-banner{font-size:13px}.help-card{padding:21px 16px}.help-card h2{font-size:26px}}@media (width<=600px){.result-card{border-width:6px;border-radius:31px;padding:29px 17px 30px}.result-icon{border-width:5px;width:82px;height:82px;font-size:49px}.result-close{top:10px;right:11px}.final-scores{gap:7px}.final-scores>div{grid-template-columns:auto auto;gap:6px;padding:7px}.final-scores>div b{grid-area:2/1/auto/-1;font-size:13px}.final-scores strong{min-width:39px;height:39px;font-size:20px}.score-divider{font-size:18px}.play-again{padding:13px 23px;font-size:19px}}.learning-button{background:#fff0ac}.badge-button{position:relative}.badge-button b{background:var(--coral);color:#fff;border:2px solid #fff5d8;border-radius:12px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:11px;display:grid;position:absolute;top:-8px;right:-5px}.tutorial-highlight{z-index:8!important;animation:.85s ease-in-out infinite tutorial-pulse!important;box-shadow:0 0 0 8px #fff4a5,0 0 30px 13px #ffe158cc,inset 0 11px 18px #241318!important}.tutorial-direction{z-index:7;color:#fff5bf;text-shadow:0 3px #713821;pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;top:50%;left:20%;right:20%;transform:translateY(-50%)}.tutorial-direction span{font-size:clamp(35px,5vw,72px);font-weight:900}.tutorial-direction b{background:#176c62e8;border:3px solid #fff2b9;border-radius:18px;padding:8px 14px;font-size:clamp(12px,1.5vw,18px)}.tutorial-coach{z-index:12;border:4px solid var(--teal);background:#fff8dc;border-radius:24px;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;width:min(820px,95vw);margin:17px auto 0;padding:13px 50px 13px 15px;display:grid;position:relative;box-shadow:0 7px #11544e,0 15px 30px #174b403b}.coach-character{background:var(--yellow);width:58px;height:58px;color:var(--coral);border:4px solid #dfa63c;border-radius:50%;place-items:center;font-size:34px;font-weight:900;display:grid}.coach-copy{grid-template-columns:1fr auto;gap:2px 12px;display:grid}.coach-copy small{color:var(--teal);text-transform:uppercase;letter-spacing:.8px;font-weight:900}.coach-copy strong{color:var(--coral)}.coach-copy p{grid-column:1/-1;margin:3px 0 0;font-weight:800;line-height:1.3}.tutorial-controls{gap:7px;display:flex}.tutorial-controls button{color:#684027;cursor:pointer;background:#ead49c;border:0;border-radius:12px;padding:10px 13px;font-weight:900}.tutorial-controls button:disabled{opacity:.4;cursor:not-allowed}.tutorial-controls .tutorial-next{background:var(--coral);color:#fff;box-shadow:0 4px #9c372e}.coach-close{color:#684027;cursor:pointer;background:#ead49c;border:0;border-radius:50%;width:30px;height:30px;font-size:21px;font-weight:900;position:absolute;top:9px;right:11px}.badge-card{width:min(720px,100%)}.badge-progress{text-align:center;color:#416a62;margin:-10px 0 18px;font-weight:900}.badge-grid{grid-template-columns:repeat(5,1fr);gap:11px;display:grid}.achievement-badge{text-align:center;color:#816d52;background:#eadfbd;border:4px solid #c7b994;border-radius:21px;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:14px 8px;display:flex}.achievement-badge>span{color:#fff8df;background:#b9ac8c;border:5px solid #d9cda9;border-radius:50%;place-items:center;width:66px;height:66px;font-size:32px;font-weight:900;display:grid;box-shadow:0 5px #9e9071}.achievement-badge b{font-size:14px;line-height:1.1}.achievement-badge small{font-size:11px;font-weight:800}.achievement-badge.unlocked{color:#64371f;background:#fff0b8;border-color:#d79e30;animation:2.4s ease-in-out infinite badge-shine}.achievement-badge.unlocked>span{background:var(--teal);color:var(--yellow);border-color:#79bfaa;box-shadow:0 5px #0e5149}.badge-toast{z-index:50;border:5px solid var(--teal);background:#fff7d7;border-radius:22px;align-items:center;gap:12px;padding:12px 18px 12px 12px;animation:.4s cubic-bezier(.2,1.5,.45,1) toast-in;display:flex;position:fixed;bottom:25px;right:24px;box-shadow:0 8px #0e5149,0 18px 40px #123d3766}.badge-toast>span{background:var(--yellow);width:48px;height:48px;color:var(--coral);border-radius:50%;place-items:center;font-size:29px;display:grid}.badge-toast div{display:grid}.badge-toast small{color:var(--teal);text-transform:uppercase;font-weight:900}.badge-toast b{color:#713c25;font-size:19px}.play-again:disabled{opacity:.72;cursor:wait;filter:saturate(.75);transform:none}@keyframes tutorial-pulse{50%{filter:brightness(1.2);transform:scale(1.1)}}@keyframes badge-shine{50%{filter:brightness(1.08);transform:translateY(-2px)}}@keyframes toast-in{0%{opacity:0;transform:translate(80px)scale(.8)}to{opacity:1;transform:translate(0)scale(1)}}@media (width<=900px){.tutorial-coach{grid-template-columns:auto 1fr;padding-right:43px}.tutorial-controls{grid-column:1/-1;justify-content:flex-end}.badge-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=600px){.tutorial-coach{text-align:center;grid-template-columns:1fr}.coach-character{display:none}.coach-copy{display:block}.tutorial-controls{justify-content:center}.tutorial-direction{left:12%;right:12%}.tutorial-direction b{max-width:135px}.badge-grid{grid-template-columns:repeat(2,1fr)}.achievement-badge:last-child{grid-column:1/-1}.badge-toast{bottom:14px;left:12px;right:12px}.badge-card{padding-left:12px;padding-right:12px}}.game-header{max-width:1880px}.brand-card{flex:0 auto}.toolbar{flex-wrap:wrap;flex:1 0 auto;place-content:center flex-end;gap:10px}.toolbar>button,.toolbar>.level-control,.toolbar>.language-switch{box-sizing:border-box;border:3px solid var(--teal);border-radius:16px;flex-shrink:0;height:54px;min-height:54px;box-shadow:0 5px #155e56}.toolbar>button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:15px;line-height:1;display:inline-flex}.toolbar>.mode-button span{margin:0}.toolbar>.level-control{gap:8px;padding:4px 6px 4px 12px}.toolbar>.level-control select{min-width:116px;height:40px}.toolbar>.language-switch{padding:3px}.toolbar>.language-switch button{min-width:47px;height:42px;padding:0 10px;line-height:1}.toolbar>.reset-button{background:var(--yellow);border-color:#c27d2c;box-shadow:0 5px #9e5f25}.toolbar>.learning-button{background:#fff0ac}.toolbar>.badge-button b{line-height:17px}.toolbar>button span,.toolbar>.level-control span{white-space:nowrap}@media (width<=1550px){.game-header{align-items:flex-start}.brand-card{max-width:470px}.brand-card h1{font-size:clamp(25px,3vw,40px)}.toolbar{max-width:790px}.toolbar>.tool-button span{display:none}.toolbar>.tool-button{width:54px;padding:0}.toolbar>.badge-button b{top:-8px;right:-6px}}@media (width<=1120px){.game-header{flex-direction:column;align-items:stretch}.brand-card{align-self:flex-start;max-width:none}.toolbar{justify-content:flex-start;max-width:none}.toolbar>button,.toolbar>.level-control,.toolbar>.language-switch{height:48px;min-height:48px}.toolbar>.tool-button{width:48px}.toolbar>.language-switch button{height:36px}.toolbar>.level-control select{height:34px}}@media (width<=600px){.toolbar{gap:7px}.toolbar>.mode-button,.toolbar>.reset-button{width:45px;padding:0;font-size:0}.toolbar>.mode-button span,.toolbar>.reset-button:first-letter{font-size:18px}.toolbar>.level-control span{display:none}.toolbar>.level-control select{min-width:92px}.toolbar>.tool-button{width:45px;display:inline-flex}.toolbar>.language-switch button{min-width:39px}.brand-card{align-self:stretch}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.mode-button{height:47px;color:var(--teal);cursor:pointer;white-space:nowrap;background:#fff5d8;border:0;border-radius:14px;padding:0 14px;font-weight:900;box-shadow:0 5px #155e56}.mode-button span{color:var(--coral);margin-right:7px}.mode-button:active{transform:translateY(3px);box-shadow:0 2px #155e56}.avatar.friend{background:#e98e48}.pit:not(:disabled){cursor:pointer;border-color:#ffd65e;animation:1.8s ease-in-out infinite ready}.opponent-row .pit:not(:disabled):hover{filter:brightness(1.16);transform:translateY(-5px)scale(1.05)}.online-strip{border:3px solid var(--teal);color:var(--teal);background:#fff5d8;border-radius:16px;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 8px;padding:7px 9px 7px 14px;font-weight:900;display:flex;box-shadow:0 4px #155e56}.online-strip>b{letter-spacing:4px;color:var(--coral);font-size:22px}.online-strip button{background:var(--yellow);color:#6d3b21;cursor:pointer;border:0;border-radius:10px;padding:7px 11px;font-weight:900}.online-strip .leave-room{background:#e9d7a8}.online-strip.playing{border-color:#318963}.mode-card{width:min(900px,96vw)}.mode-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.mode-choice{min-width:0;color:var(--ink);text-align:center;background:#fffaf0;border:4px solid #d6ad63;border-radius:22px;flex-direction:column;align-items:center;gap:8px;padding:18px 14px;display:flex;box-shadow:0 6px #af793e}.mode-choice.selected{border-color:var(--teal);box-shadow:0 6px #105149}.mode-choice>span{color:var(--coral);font-size:34px;font-weight:900}.mode-choice>b{color:var(--teal);font-size:19px}.mode-choice>small{color:#5f716d;min-height:32px;font-weight:700}.mode-choice input{width:100%;min-height:39px;color:var(--ink);text-transform:none;background:#fff;border:3px solid #d3aa61;border-radius:11px;padding:7px 9px;font-weight:900}.mode-choice>button,.join-row button,.room-created button{background:var(--coral);color:#fff;cursor:pointer;border:0;border-radius:11px;width:100%;padding:9px;font-weight:900}.mode-choice>button:disabled,.join-row button:disabled{opacity:.5;cursor:not-allowed}.join-row{grid-template-columns:1fr 1.15fr;gap:6px;width:100%;display:grid}.join-row input{text-transform:uppercase;letter-spacing:2px}.room-created{gap:8px;width:100%;display:grid}.room-created em{font-size:12px;font-style:normal}.room-created strong{letter-spacing:6px;color:var(--coral);font-size:30px}.online-error{text-align:center;color:#a3322a;margin:15px 0 0;font-weight:900}.online-name-label{text-align:left;width:100%;color:var(--teal);gap:5px;font-size:12px;font-weight:900;display:grid}.online-name-label input{font-size:15px}@media (width<=760px){.mode-card{padding-left:14px;padding-right:14px}.mode-grid{grid-template-columns:1fr;max-height:65vh;overflow:auto}.mode-choice>small{min-height:0}.mode-choice{padding:13px}.mode-button{height:41px;padding:0 9px;font-size:0}.mode-button span{margin:0;font-size:18px}.online-strip{justify-content:center;font-size:12px}.online-strip>b{font-size:18px}.online-strip span{text-align:center;width:100%}}.avatar-face{border:3px solid #fff3c5;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;position:relative;overflow:hidden;box-shadow:0 3px #8a5b35}.avatar-face>span{font-size:23px;line-height:1;transform:translateY(2px)}.avatar-face>i{color:#64351f;background:#fff4cf;border-radius:50%;place-items:center;width:15px;height:15px;font-size:9px;font-style:normal;font-weight:900;display:grid;position:absolute;bottom:-1px;right:1px}.colour-coral{background:#e35b4b!important}.colour-teal{background:#168074!important}.colour-gold{background:#dba52b!important}.colour-purple{background:#7d609d!important}.hub-button{padding-left:8px!important}.toolbar>.hub-button>.avatar-face{flex-basis:34px;width:34px;height:34px;display:grid}.toolbar>.hub-button>.avatar-face>span{font-size:21px;display:block}.toolbar>.hub-button>.avatar-face>i{display:grid}.reaction-bar{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px;display:flex}.reaction-bar button{border:3px solid var(--teal);color:var(--teal);cursor:pointer;background:#fff6d9;border-radius:15px;align-items:center;gap:6px;padding:7px 12px;font-weight:900;display:inline-flex;box-shadow:0 4px #155e56}.reaction-bar button:hover{filter:brightness(1.04);transform:translateY(-2px)}.reaction-bar button span{font-size:19px}.reaction-toast{z-index:55;text-align:center;border:5px solid var(--teal);background:#fff8dc;border-radius:25px;gap:2px;min-width:210px;padding:14px 22px;animation:.35s cubic-bezier(.2,1.5,.45,1) reaction-pop;display:grid;position:fixed;top:18%;left:50%;transform:translate(-50%);box-shadow:0 8px #0e5149,0 18px 50px #123d3766}.reaction-toast span{color:var(--coral);font-size:24px;font-weight:900}.reaction-toast small{color:var(--teal);font-weight:900}.player-hub{width:min(900px,96vw);padding:22px 24px 28px}.hub-heading{justify-content:center;align-items:center;gap:12px;margin:0 45px 16px;display:flex}.hub-heading>.avatar-face{border-width:4px;flex-basis:58px;width:58px;height:58px}.hub-heading>.avatar-face>span{font-size:38px}.hub-heading small{color:var(--teal);letter-spacing:2px;font-weight:900}.hub-heading h2{text-align:left;margin:2px 0 0}.hub-tabs{background:#e7d6a3;border-radius:18px;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:18px;padding:7px;display:grid}.hub-tabs button{color:#6a4b32;cursor:pointer;background:0 0;border:0;border-radius:12px;min-width:0;padding:9px 5px;font-weight:900}.hub-tabs button span{margin-bottom:2px;font-size:20px;display:block}.hub-tabs button.selected{background:var(--teal);color:#fff;box-shadow:0 4px #0e5149}.hub-panel{min-height:310px}.hub-panel h3{color:var(--teal);margin:12px 0 10px}.avatar-options{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.avatar-options button{color:#684027;cursor:pointer;background:#fffaf0;border:4px solid #d7b66c;border-radius:19px;flex-direction:column;align-items:center;gap:7px;padding:13px 8px;display:flex}.avatar-options button.selected{border-color:var(--teal);background:#e0f3e7;box-shadow:0 5px #0e5149}.avatar-options .avatar-face{flex-basis:62px;width:62px;height:62px}.avatar-options .avatar-face>span{font-size:41px}.avatar-options b{font-size:13px}.colour-options{gap:12px;display:flex}.colour-options button{color:#fff;cursor:pointer;border:5px solid #fff6d9;border-radius:50%;width:48px;height:48px;font-weight:900;box-shadow:0 0 0 3px #c89c55}.colour-options button.selected{box-shadow:0 0 0 4px var(--teal),0 5px 0 #0e5149}.history-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;display:grid}.history-summary div{text-align:center;background:#f5e6b7;border-radius:16px;padding:10px;display:grid}.history-summary strong{color:var(--coral);font-size:29px}.history-summary span{color:#527069;font-weight:900}.empty-history{text-align:center;background:#f5e6b7;border-radius:18px;padding:35px 15px;font-weight:800}.match-list{gap:8px;max-height:245px;padding-right:3px;display:grid;overflow:auto}.match-list article{background:#f5e6b7;border-left:7px solid #d19b2c;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:9px 12px;display:grid}.match-list article.match-win{border-color:#25816e}.match-list article.match-loss{border-color:#cf5c4d}.match-list article>span{color:var(--coral);font-size:24px}.match-list article>div{display:grid}.match-list article small{color:#557069;font-weight:800}.match-list article>strong{color:#684027;font-size:21px}.accessibility-panel{gap:10px;display:grid}.access-row{cursor:pointer;background:#f5e6b7;border-radius:17px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid;position:relative}.access-row>span{background:var(--teal);color:#fff;border-radius:50%;place-items:center;width:42px;height:42px;font-size:22px;display:grid}.access-row>div{display:grid}.access-row small{color:#58716c;font-weight:700}.access-row input{opacity:0;position:absolute}.access-row>i{background:#ad9d79;border-radius:20px;width:52px;height:29px;transition:all .2s;position:relative}.access-row>i:after{content:"";background:#fff5d8;border-radius:50%;width:23px;height:23px;transition:all .2s;position:absolute;top:3px;left:3px}.access-row input:checked+i{background:var(--teal)}.access-row input:checked+i:after{transform:translate(23px)}.theme-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.theme-preview{color:#fff;text-shadow:0 2px #143a35;cursor:pointer;border:5px solid #fff0c5;border-radius:21px;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;min-height:150px;padding:14px 6px;display:flex;position:relative;overflow:hidden;box-shadow:0 5px #996230}.theme-preview span{font-size:38px}.theme-preview b{font-size:14px;position:relative}.theme-preview i{width:25px;height:25px;color:var(--teal);text-shadow:none;background:#fff4cf;border-radius:50%;place-items:center;font-style:normal;display:grid;position:absolute;top:7px;right:7px}.theme-preview.selected{border-color:var(--yellow);box-shadow:0 0 0 4px var(--teal),0 6px 0 #0e5149}.preview-batik{background:radial-gradient(circle at 20% 20%,#f9cf62 0 8%,#0000 9%),linear-gradient(145deg,#c84f42,#7c3352)}.preview-songket{background:linear-gradient(45deg,#b68b2c 25%,#34215e 25% 50%,#b68b2c 50% 75%,#34215e 75%)}.preview-rainforest{background:linear-gradient(#56a879,#145643)}.preview-beach{background:linear-gradient(#75d9dc 0 52%,#f1ca6f 52%)}.learn-intro{text-align:center;color:var(--coral);margin:5px auto 14px;font-size:18px;font-weight:900}.learn-panel article{background:#f5e6b7;border-radius:17px;grid-template-columns:auto 1fr;gap:13px;margin-bottom:9px;padding:13px;display:grid}.learn-panel article>span{font-size:34px}.learn-panel h3{margin:0 0 3px}.learn-panel p{color:#405f59;margin:0;font-weight:700;line-height:1.35}.large-guli .seed-cluster i{width:clamp(11px,1.55vw,21px)}.colour-blind .seed-cluster i:nth-child(4n+1){background:#0072b2;border-radius:50%}.colour-blind .seed-cluster i:nth-child(4n+2){background:#e69f00;border-radius:20%}.colour-blind .seed-cluster i:nth-child(4n+3){background:#009e73;border-radius:50% 15%}.colour-blind .seed-cluster i:nth-child(4n){background:#cc79a7;border-radius:15% 50%}.slow-animations .pit,.slow-animations .seed-cluster i{transition-duration:.45s}.theme-songket{--teal:#4d356f;--coral:#ad7727;--yellow:#f1cf5b;background:linear-gradient(#7b5f9e 0 52%,#bea45a 52%)}.theme-songket .congkak-board{background:radial-gradient(#a56b34,#643259 62%,#351d43)}.theme-rainforest{--teal:#175d45;--coral:#d26f39;--yellow:#f1d65a;background:linear-gradient(#72c79a 0 52%,#3e8554 52%)}.theme-rainforest .congkak-board{background:radial-gradient(#a86739,#754127 60%,#3e281e)}.theme-beach{--teal:#177a86;--coral:#e66b48;--yellow:#f6d36a;background:linear-gradient(#86dde3 0 52%,#efd17f 52%)}.theme-beach .hill{background:#d7bd6d}.theme-batik{background-image:radial-gradient(circle at 8% 16%,#fff4a522 0 2%,#0000 2.2%),linear-gradient(#7bd5d1 0 52%,#b6dc86 52%)}@keyframes reaction-pop{0%{opacity:0;transform:translate(-50%)scale(.6)translateY(30px)}to{opacity:1;transform:translate(-50%)scale(1)translateY(0)}}@media (width<=760px){.player-hub{padding:18px 12px 20px}.hub-tabs{grid-template-columns:repeat(5,1fr);gap:3px}.hub-tabs button{padding:7px 2px;font-size:11px}.avatar-options,.theme-grid{grid-template-columns:repeat(2,1fr)}.hub-panel{min-height:280px}.reaction-bar button{padding:7px 10px;font-size:0}.reaction-bar button span{font-size:20px}.reaction-toast{max-width:90vw;top:12%}.history-summary strong{font-size:23px}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
