:root{color:#39201e;font-synthesis:none;--ink:#39201e;--muted:#694b43;--border:#dbb697;--gold:#ffcc63;--shell:880px;background:#21171a;font-family:Trebuchet MS,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at top,#50312c,#21171a 72%);min-width:300px;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:3px;outline:3px solid #8852db}h1,h2,p{margin:0}#root{max-width:var(--shell);background:repeating-linear-gradient(2deg,#d7a07b16 0 2px,#0000 2px 26px),linear-gradient(#fff2df,#efceac);min-height:100svh;margin:auto;box-shadow:0 0 45px #130b07bb}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.top{color:#fff6e1;background:linear-gradient(#382027,#542829);border-bottom:3px solid #e6ad62;padding:12px 14px}.top-inner,.tools{justify-content:space-between;align-items:center;gap:8px;display:flex}.top a,.language{color:#fff6e1;background:linear-gradient(#513542,#321f29);border:1px solid #a16c60;border-radius:14px;align-items:center;gap:6px;min-height:37px;padding:5px 9px;font-size:.92rem;font-weight:900;display:inline-flex;box-shadow:0 2px #221310}.top .guest svg{color:#ffc959}.balance svg{color:#ffcd4f}.gems svg{color:#ff88d1}.top .language{color:#502b32;background:#ffedd4}main{min-height:calc(100svh - 135px);padding:20px 20px 16px}main:focus{outline:none}.home-screen{padding:0 0 14px}.proposal-art{display:block;position:relative;overflow:hidden}.proposal-art img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;display:block;position:absolute}.kampung-hero{border-bottom:2px solid #d59a55}.online-shortcuts{grid-template-columns:1fr 1.15fr 1.05fr auto;gap:7px;padding:10px 11px 8px;display:grid}.action{text-align:center;color:#fff;text-shadow:0 2px #302039;border:2px solid #ffe2a0;border-radius:16px;justify-content:center;align-items:center;gap:7px;min-height:54px;padding:8px 5px;font-weight:900;line-height:1.05;transition:filter .18s;display:flex;box-shadow:0 3px #9d6335}.action:hover,.game-card:hover{filter:brightness(1.07)}.action svg{color:#ffdaa0;flex:none;width:23px;height:23px}.action small{margin-top:3px;font-size:.72rem;font-weight:750;display:block}.purple{background:linear-gradient(#8549c8,#50228c)}.orange{background:linear-gradient(#b8562e,#8c2e23)}.ocean{background:linear-gradient(#247998,#16445f)}.events-button{color:#5d2911;text-shadow:none;background:linear-gradient(#fff6e6,#ecc5a1);flex-direction:column;gap:3px;padding-inline:10px}.events-button svg{color:#8f3a17}.game-shelf,.mission-board{background:linear-gradient(150deg,#fff9ee,#f8e3cc);border:1px solid #cf9d74;border-radius:19px;margin:12px 11px 0;padding:9px 8px;box-shadow:inset 0 0 0 2px #fffaf0,0 3px #ad785b}.plaque{color:#622a10;letter-spacing:-.04em;text-shadow:0 1px #fff8df;background:linear-gradient(#fff1ca,#f5c77e);border-radius:10px;width:fit-content;margin:0 auto 10px;padding:2px 18px 5px;font-size:clamp(1.15rem,3vw,1.85rem);font-weight:1000;box-shadow:0 2px #d4a267,0 0 0 1px #e5b784}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.game-card{color:inherit;text-align:left;background:#fff0c6;border:2px solid #fff2d8;border-radius:15px;align-self:stretch;min-width:0;padding:0;position:relative;overflow:hidden;box-shadow:0 3px #c39158}.game-card .tile-photo,.game-card .game-art{aspect-ratio:1.82;border-bottom:1px solid #dfad66}.game-art{background-image:radial-gradient(circle at 50% 72%,#ffffff80,#0000 70%);place-items:center;font-size:clamp(1.6rem,5vw,3.5rem);display:grid}.teal{background-color:#76c8a7}.blue{background-color:#8dc9e7}.pink{background-color:#f2aca7}.yellow{background-color:#f8ca68}.violet{background-color:#c8b1e7}.game-info{padding:8px 9px;display:block}.game-info strong{font-size:1rem;font-weight:900;line-height:1.1;display:block}.game-info small{color:var(--muted);margin-top:4px;font-size:.83rem;line-height:1.25;display:block}.home-screen .game-info{text-align:center;color:#fff7df;text-shadow:0 2px #411600;background:linear-gradient(#0000,#361807e8);padding:13px 2px 5px;position:absolute;inset:auto 0 0}.home-screen .game-info strong{font-size:clamp(.65rem,2.25vw,1.1rem)}.shelf-heading{justify-content:center;margin:2px 0 12px;font-size:clamp(.98rem,4.8vw,1.55rem);line-height:1.1;display:flex}.game-picker{color:#5b270d;letter-spacing:-.025em;text-shadow:0 1px #ffedac;background:linear-gradient(#ffec91 0%,#ffd658 48%,#ffb528 52%,#ffc24b 100%);border:2px solid #7c3516;border-radius:15px;align-items:center;gap:9px;min-height:48px;padding:5px 10px 5px 5px;font-weight:1000;transition:translate .15s,filter .15s;display:inline-flex;box-shadow:inset 0 0 0 2px #fff0ad,inset 0 -5px #e6831b66,0 4px #9b491d,0 6px 6px #7e391d36}.game-picker-icon{color:#fff2d7;background:linear-gradient(#ba65d8,#7528a5);border:1px solid #6c267a;border-radius:9px;flex:none;place-items:center;width:35px;height:33px;display:grid;box-shadow:inset 0 1px #eaa5f2,0 2px #6b327a}.game-picker-chevron{flex:none}.game-picker:hover{filter:brightness(1.06);translate:0 -1px}.game-picker:active{translate:0 2px}@media (prefers-reduced-motion:reduce){.game-picker{transition:none}}.kampung-event{color:#fff4e0;background:linear-gradient(125deg,#40235f,#762c77 75%,#5c254e);border:2px solid #ffcf77;border-radius:15px;align-items:center;gap:13px;margin:13px 11px 0;padding:10px;display:flex;box-shadow:0 3px #a76a37}.event-photo{border:3px solid #ffebbc;border-radius:4px;flex:none;width:16%;min-width:65px;transform:rotate(-4deg)}.kampung-event h2{color:#ffda70;text-shadow:0 2px #462069;font-size:clamp(1.05rem,3.5vw,1.8rem);line-height:1.08}.kampung-event p{margin-top:4px;font-size:.88rem}.kampung-event span{color:#fff0c9;font-size:.74rem}.kampung-event>svg{fill:#ffce62;color:#ffe4a7;flex:none;margin-left:auto}.mission-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.mission{background:#fff9ee;border:1px solid #e7c8ad;border-radius:10px;align-items:center;gap:7px;padding:7px;font-size:.84rem;line-height:1.2;display:flex}.mission svg{color:#774496;flex:none}.mission small{color:#85441e;margin-top:3px;display:block}.feature-grid,.profile-grid{gap:13px;display:grid}.page-title p,.panel p,.dialog-content p,.section-intro{color:var(--muted)}.page-title{margin:14px 0 26px}.page-title h1{letter-spacing:-.065em;margin-bottom:8px;font-size:clamp(2.7rem,6vw,4.5rem);line-height:1.05}.feature-grid,.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{border:1px solid var(--border);background:#fff9ef;border-radius:18px;padding:22px}.panel h2{margin:6px 0 7px;font-size:1.32rem;line-height:1.2}.panel p{line-height:1.5}.feature-icon,.profile-icon{color:#6d3650}.feature-icon{background:linear-gradient(#ead8fb,#d9b7ee);border-radius:14px;place-items:center;width:50px;height:50px;font-size:1.7rem;display:grid;box-shadow:inset 0 0 0 1px #fbecff,0 2px #bc8bcb}.status{color:#66473d;background:#f1e4d5;border-radius:8px;margin-top:16px;padding:4px 9px;font-size:.82rem;font-weight:800;display:inline-block}.search{border:1px solid var(--border);background:#fffaf1;border-radius:12px;align-items:center;gap:9px;max-width:390px;margin-bottom:20px;padding:0 12px;display:flex}.search input{width:100%;min-height:46px;color:var(--ink);background:0 0;border:none}.segmented{background:#f1e1d1;border-radius:12px;flex-wrap:wrap;gap:5px;margin:8px 0 15px;padding:4px;display:inline-flex}.segmented button{color:inherit;background:0 0;border:0;border-radius:9px;min-height:44px;padding:8px 12px;font-weight:800}.segmented button[aria-pressed=true]{color:#fff7e7;background:#532b30}.section-intro{margin:0 0 15px}.wallet{flex-wrap:wrap;gap:9px;margin-top:14px;display:flex}.wallet span{background:#faebd2;border-radius:8px;align-items:center;gap:5px;padding:7px 9px;font-weight:800;display:flex}.providers{gap:8px;margin-top:12px;display:grid}.providers button{color:#715957;border:1px solid var(--border);cursor:default;background:#f4e7db;border-radius:9px;padding:8px}dialog{border:1px solid var(--border);width:min(420px,100% - 32px);color:var(--ink);background:#fff6e6;border-radius:20px;padding:0;box-shadow:0 15px 55px #25151a55}dialog::backdrop{background:#2f1822ba}.dialog-content{padding:24px;position:relative}.dialog-content h2{margin:14px 0 4px}.dialog-art{border-radius:14px;place-items:center;width:75px;height:75px;font-size:2.65rem;display:grid}.close{width:42px;height:42px;color:inherit;background:#f2e4d6;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:14px;right:14px}.dialog-photo{border-radius:12px;width:min(100%,310px);margin:28px auto 0}.site-footer{color:#6d431f;justify-content:space-between;padding:9px 13px;font-size:.77rem;display:flex}.bottom-nav{z-index:3;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:repeating-linear-gradient(2deg,#58261124 0 3px,#0000 3px 12px),linear-gradient(#633425,#381c20);border-top:2px solid #d79b61;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid;position:sticky;bottom:0;box-shadow:0 -3px 10px #3a1b1950}.bottom-nav a{color:#fff2d9;text-align:center;text-shadow:0 1px #331706;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:53px;font-size:.79rem;font-weight:900;display:flex}.nav-medallion,.mission-icon,.action-icon{border-radius:9px;flex:none;place-items:center;display:grid}.nav-medallion{background:linear-gradient(var(--icon-light),var(--icon-dark));border:1px solid var(--icon-rim);width:35px;height:30px;color:var(--icon-ink);box-shadow:inset 0 1px #ffffff68,0 2px #281523}.nav-medallion svg{stroke-width:2.45px;fill:currentColor;fill-opacity:.2}.nav-home{--icon-light:#ffe097;--icon-dark:#eba846;--icon-rim:#ffe4a5;--icon-ink:#623015}.nav-games{--icon-light:#e5beff;--icon-dark:#ae76e7;--icon-rim:#efd8ff;--icon-ink:#452068}.nav-online{--icon-light:#9be9ff;--icon-dark:#55b9eb;--icon-rim:#b9f0ff;--icon-ink:#133f64}.nav-shop{--icon-light:#ffcab1;--icon-dark:#f29672;--icon-rim:#ffddc7;--icon-ink:#662414}.nav-profile{--icon-light:#b1efd4;--icon-dark:#64c6ac;--icon-rim:#c4f7de;--icon-ink:#174f48}.bottom-nav a[aria-current]{color:#4c2815;text-shadow:none;background:linear-gradient(#fff0ad,#ffbf50);box-shadow:inset 0 0 0 2px #ffe7a1,0 2px #9f4d21}.bottom-nav a[aria-current] .nav-medallion{box-shadow:inset 0 1px #ffffff68,0 1px #a16933}.action-icon{background:#25123342;border:1px solid #fff1;width:30px;height:30px}.action-icon svg{color:#ffedb1;stroke-width:2.5px}.events-button .action-icon{background:#f1d3bd;border-color:#c78b6d5c}.events-button .action-icon svg{color:#8c3820}.mission-icon{background:#eeddf9;width:26px;height:26px}.mission:nth-child(2) .mission-icon{background:#d6f0f7}.mission:nth-child(3) .mission-icon{background:#ffe5af}.mission:nth-child(2) svg{color:#175d78}.mission:nth-child(3) svg{color:#89500d;fill:#ce791c66}@media (width<=600px){.top{padding:8px}.top a,.language{min-height:34px;padding:4px 6px;font-size:.8rem}main{padding:16px 12px}.online-shortcuts{gap:4px;padding:7px 5px 4px}.action{border-radius:11px;gap:2px;min-height:47px;padding:4px 3px;font-size:.66rem}.action-icon{border-radius:6px;width:21px;height:21px}.action svg{width:14px;height:14px}.action small{font-size:.55rem}.events-button{padding-inline:5px}.game-shelf,.mission-board,.kampung-event{margin-inline:6px}.game-shelf{padding-inline:5px}.home-screen .game-grid{gap:4px}.home-screen .game-card{border-radius:10px}main:not(.home-screen) .game-grid,.feature-grid,.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mission{gap:3px;padding:5px;font-size:.67rem}.mission-icon{border-radius:6px;width:20px;height:22px}.mission svg{width:14px;height:14px}.kampung-event>svg{width:22px;height:22px}}@media (width<=405px){.feature-grid,.profile-grid{grid-template-columns:1fr}.bottom-nav a{font-size:.7rem}.tools{gap:4px}.top .guest{gap:3px}.top a svg,.language svg{width:16px;height:16px}}.category-filters{flex-wrap:wrap;gap:7px;margin:-7px 0 20px;display:flex}.category-filters button,.catalogue-empty button{min-height:42px;color:var(--ink);background:#fff9ef;border:1px solid #bd8f70;border-radius:10px;align-items:center;gap:6px;padding:6px 10px;font-size:.86rem;font-weight:800;display:inline-flex}.category-filters button:hover,.catalogue-empty button:hover{background:#f8e3cf}.category-filters button[aria-pressed=true]{color:#fff4e0;background:#532b36;border-color:#532b36;box-shadow:0 2px #9f6a59}.category-filters button svg{color:#784c69;flex:none}.category-filters button[aria-pressed=true] svg{color:#ffdb86}.catalogue-groups{gap:13px;display:grid}.catalogue-group{background:#fff9ee;border:1px solid #cf9d74;border-radius:15px;padding:12px;box-shadow:0 2px #c69b7b}.catalogue-group h2{align-items:center;gap:9px;margin:0 0 10px;font-size:1.13rem;line-height:1.15;display:flex}.category-medallion{background:var(--category-bg);width:32px;height:32px;color:var(--category-ink);border-radius:9px;flex:none;place-items:center;display:grid}.category-strategy{--category-bg:#ead7fa;--category-ink:#623b83}.category-aim{--category-bg:#ffe0cf;--category-ink:#943a24}.category-timing{--category-bg:#ffedbd;--category-ink:#875008}.category-agility{--category-bg:#ceeede;--category-ink:#215d4f}.catalogue-group .game-card{background:#fff6e8;border-color:#ebc8a7}.catalogue-empty{border:1px solid var(--border);background:#fff9ef;border-radius:13px;padding:15px}.catalogue-empty button{margin-top:10px}.providers button:not(:disabled){cursor:pointer;color:var(--ink);background:#fff9ef;border-color:#b88e78;font-weight:750}.providers button:not(:disabled):hover{background:#f8e0cc}.auth-message{margin-top:10px}.sign-out{color:var(--ink);background:#fff9ef;border:1px solid #b88e78;border-radius:9px;margin-top:12px;padding:8px 12px}
