/* Mama's Day · Rumah & Cerita — bright illustrated visual edition. */
:root{--vs-green:#116d5a;--vs-dark:#294c41;--vs-pink:#e86b98;--vs-yellow:#f7c84b;--vs-paper:#fff8e8;--vs-border:#b4b596;--teal:#116d5a;--ink:#344d41;--muted:#738070}
html{background:#bed5bd}body{max-width:540px;background:#fff4dd;color:var(--ink);box-shadow:0 0 0 1px #9aa78d,0 0 80px #273f3e2b;font-family:'Trebuchet MS',ui-rounded,system-ui,sans-serif}button,input,select{font-family:inherit}button{transition:background .15s,box-shadow .15s,transform .15s}button:active:not(:disabled){transform:translateY(2px)}header{padding:9px 12px;gap:6px;min-height:62px;flex:0 0 auto;background:#fff9e9;border-bottom:2px solid #d4c39c}.brand{gap:7px;font-size:24px;color:#116d5a;line-height:.95}.brand small{font-size:6px;letter-spacing:1.6px;margin-top:5px}.brand-icon{width:33px;height:37px;border-radius:11px;background:#bce0c0;border:2px solid #608e75;box-shadow:0 3px #a0bd9c;font-size:26px}.head-actions{gap:5px}.round{width:32px;height:33px;border:1.5px solid #b0b594;background:#fff9e8;border-radius:11px;box-shadow:0 3px #d2c5a2;color:#28634e}.playing-pill{padding:5px 7px;max-width:105px;border-color:#b0bd95;background:#e8efdb;font-size:6px}.playing-pill b{font-size:12px}.game-date-bar{padding:6px;font-size:10px;background:#dceacc;color:#497558;border-bottom:1px solid #c6d2ae;flex-shrink:0}#family-calendar{margin:5px 10px;padding:7px 11px;min-height:29px;font-size:11px;border:1px solid #c2c99c;border-radius:12px;background:#eef2d9;color:#466c4e;box-shadow:none}.stock-alert{margin:3px 10px;padding:7px 10px;font-size:11px;background:#ffe6a3;border-radius:10px}main{padding:6px 10px 10px;gap:6px;min-height:0}.statusbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:8px!important;padding:10px 12px!important;border:1.5px solid #b7bc97;border-radius:21px;margin:0 0 7px;box-shadow:0 3px #d5c59f;background:#fff9e7;flex-shrink:0}.clock{min-width:0!important;gap:5px}.clock>span{font-size:24px}.clock strong{font-size:25px;font-weight:700;white-space:nowrap;color:#35674a}.clock small{font-size:8px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wallet{grid-column:2;grid-row:1;gap:12px;padding:8px 10px;margin:0;border-radius:15px;background:#d0ebd4;border-color:#94bd93}.wallet span{font-size:6px;letter-spacing:1px;color:#608366}.wallet b{font-size:18px;font-weight:700;color:#14795d}.speeds{grid-column:3;grid-row:1;gap:3px;padding:3px;border-radius:10px;background:#e5dec9}.speeds button{min-width:25px;width:25px;height:28px;border-radius:8px;font-size:10px}.needs{grid-column:1/-1;grid-row:2;display:flex!important;gap:12px!important;margin:0}.needs label{flex:1;width:auto;font-size:8px;color:#6d7a60}.needs meter{height:10px}.needs meter::-webkit-meter-bar{height:6px;background:#e3ddc2;border-radius:8px}.needs meter::-webkit-meter-optimum-value{background:#4fa486;border-radius:8px}.game-layout{gap:0}.playarea{border:2px solid #75886b;border-radius:23px;box-shadow:0 4px #b5bc96;min-height:0}.scene-top{height:37px;min-height:37px;padding:0 11px;background:#e8efce;color:#315e42;border-bottom:2px solid #bcbd94;font-weight:700;font-size:9px;letter-spacing:1px;gap:5px}.scene-top .family-status{font-size:8px;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-top #return-home{font-size:10px;white-space:nowrap}.scene-top #fullscreen{font-size:18px}.scene-top #vs-map{font-size:10px;letter-spacing:0;background:#fff8db;border:1px solid #a5b080;border-radius:9px;padding:5px 8px;box-shadow:0 2px #c5c99f}.canvas-wrap{min-height:220px!important;background:#cbe1bf}#world{filter:saturate(1.25) contrast(1.025) brightness(1.025)}.scene-note{max-width:calc(100% - 24px);bottom:10px;left:12px;padding:7px 10px;font-size:10px;border:1px solid #92a982;border-radius:12px;background:#fff9e9ed;box-shadow:0 2px #749b6122}.room-tabs{padding:5px 6px;gap:3px;flex-shrink:0;background:#fff0c6;border-color:#c7bd93}.room-tabs button{font-size:10px;min-height:32px;padding:6px 3px;white-space:nowrap;color:#5a7754}.room-tabs button.selected{background:#137a63!important;color:#fff7da!important;box-shadow:0 3px #0e5947}.d-home-toolbar{padding:7px!important;gap:7px!important;border-top:1px solid #c2c49c;background:#eff3dc;flex-shrink:0}.d-home-toolbar button{min-height:44px!important;padding:8px 5px!important;border:1.5px solid #b2b88d;border-radius:14px;background:#fff9e7;font-size:12px!important;color:#3f7155;box-shadow:0 3px #d5cfab}#mobile-phone{background:#d2ebd4;border-color:#8eb38f}#w-car-me{background:#f8bad1!important;color:#9f2c65!important;border-color:#d56c99!important}#cozy-me-launch{background:#f7b8d0;border-color:#d675a0;color:#a73869}
/* Each destination has a different accent, without changing objects or hit areas. */
body[data-vs-place=cafe] .scene-top{background:#e8bf83;border-color:#bd8d55;color:#71482f}body[data-vs-place=mall] .scene-top{background:#a9d9bf;border-color:#6baf8a}body[data-vs-place=spa] .scene-top{background:#f4c3d7;border-color:#d78db2;color:#90375f}body[data-vs-place=boutique] .scene-top{background:#edb6cb;border-color:#c87da3;color:#97355e}body[data-vs-place=jerudong] .scene-top{background:#f5d765;border-color:#d9ad47;color:#735628}body[data-vs-place=geraiRamadan] .scene-top{background:#c0ddba;border-color:#6a9b77}body[data-vs-place=grandma] .scene-top{background:#e9d390;border-color:#bb9f63}
.modal{background:#1a3a3299;backdrop-filter:blur(7px);padding:13px}.dialog{border:2px solid #a8ad85;background:#fff8e7;border-radius:26px;padding:24px 20px;box-shadow:0 6px #85966d44,0 20px 80px #152f3255;max-height:94dvh}.dialog h1{font-size:29px;line-height:1.13;color:#23654c;font-weight:700;margin:10px 0 17px;letter-spacing:-.8px}.dialog p{color:#7d775f;font-size:12px}.d-section-label,.eyebrow{color:#66905b;letter-spacing:1.9px;font-size:8px}.close{background:#e5e6ce;color:#4b6249;border:1px solid #bdc4a1;top:12px;right:12px}.primary{background:#137965!important;border:2px solid #105c4d!important;border-radius:17px!important;box-shadow:0 4px #0e5445!important;font-size:14px;font-weight:700;min-height:48px}.secondary{background:#fff2cd!important;color:#65704f!important;border:1px solid #c3b68c!important;box-shadow:0 3px #d2c097;font-size:12px;min-height:42px;border-radius:14px}.choice{border:1.5px solid #bac39b!important;border-radius:17px!important;box-shadow:0 3px #d9d1a9;background:#fffcee;padding:14px;color:#365a43}.choice b{font-size:14px;color:#365a43}.choice small{color:#7a8167;font-size:11px;line-height:1.45}.choice:hover:not(:disabled){background:#edf3d7}.toast{background:#156b56;border:2px solid #6fa18c;bottom:18px;box-shadow:0 4px #194c3f33}
/* Opening and family studio. */
#modal:has(.n-opening) .dialog{padding:0;overflow:auto;border:0;border-radius:26px;background:#fff5df}.n-opening{background:radial-gradient(ellipse at 20% 15%,#d4e7b8,transparent 50%),#fff4dd}.n-opening-brand{color:#66865e;letter-spacing:3px!important;font-size:8px;padding-top:22px}.n-opening-title{padding:18px 20px 0!important}.n-opening-title small{color:#688366;font-size:8px;letter-spacing:2px}.n-opening-title h1{font-size:52px!important;letter-spacing:-2px;color:#16654f!important;text-shadow:0 2px #e2b969;margin:10px 0!important}.n-opening-title p{font-size:13px;color:#6b8062}.n-opening-art{margin:4px 16px;border-radius:28px;background:#dfeabc;border:1.5px solid #b3c593;box-shadow:inset 0 -8px #b8d29a33;overflow:hidden}.n-opening-art svg{width:100%;height:auto;max-height:245px!important}.n-opening-actions{padding:18px 22px 24px!important;background:#fff7e6;border-top:2px solid #d7d5ab}.n-opening-welcome{font-size:19px!important;font-weight:700;color:#27684d}.sf-live{border-radius:12px;background:#e0ecd1;border:1px solid #b2c39a;padding:7px;font-size:10px;margin:12px 0}.sf-live small{font-size:7px}.sf-download{background:#fcf0cd;border-color:#c6bc8e;padding:12px;font-size:12px}.sf-download summary{color:#52724f}.sf-setup{padding-bottom:5px}.sf-steps{gap:7px;margin:15px 0 18px}.sf-steps span{border:1px solid #c5cba8;background:#edf0da;padding:8px 4px;border-radius:13px;text-align:center;font-size:9px}.sf-steps .active{color:white;background:#21876a;border-color:#176c51}.sf-setup input,.sf-setup select{border:1.5px solid #b8bd99;min-height:46px;background:#fffdf0;color:#355d45;font-size:14px}.sf-form{grid-template-columns:1fr;gap:4px}.sf-form>label{margin:8px 0}.sf-preview{background:radial-gradient(ellipse at 50% 72%,#e1c28f 0 22%,#dce9b8 23% 60%,#fff2ca 61%);border:2px solid #b6bf8e;border-radius:25px;position:relative;padding:4px 8px 15px}.sf-preview canvas{width:190px;height:238px;max-height:35dvh;object-fit:contain}.sf-preview span{display:inline-block;font-weight:700;font-size:12px;background:#fff7e3;padding:6px 13px;border-radius:20px;color:#4a744e}.vs-studio-intro{display:flex;align-items:center;gap:13px;padding:15px;background:#deebc6;border:1.5px solid #b5c396;border-radius:21px;margin:12px 0}.vs-studio-intro>svg{height:115px;width:80px;flex-shrink:0}.vs-studio-intro b{display:block;font-size:18px;color:#3a704b;margin-bottom:5px}.vs-studio-intro p{margin:0;font-size:12px;line-height:1.5}.vs-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px}.vs-options button{min-height:38px;flex:1 1 76px;padding:8px;border:1.5px solid #bbc5a0;border-radius:13px;background:#fffdf1;font-size:11px;color:#56714e;box-shadow:0 2px #e0d6b7}.vs-options button[aria-pressed=true]{background:#d0e8c4;border:2px solid #328566;color:#1e684b;box-shadow:0 2px #86ae7a}.vs-options.vs-swatches button{flex:0 0 37px;width:37px;height:37px;min-height:37px;border-radius:50%;box-shadow:inset 0 0 0 4px #fff8e4;padding:0}.vs-options.vs-swatches button[aria-pressed=true]{outline:2px solid #2c8666;outline-offset:2px}.vs-family-stage{border:1.5px solid #c6bb8b;border-radius:23px;padding:18px 9px 10px;background:linear-gradient(#edf2ce 72%,#e7cb91 72%);margin:12px 0;position:relative}.vs-family-stage>div{display:flex;align-items:flex-end;justify-content:center;min-height:153px;gap:3px;overflow:hidden}.vs-family-stage figure{margin:0;text-align:center;min-width:0;max-width:100px}.vs-family-stage figure svg{width:85px;height:125px;display:block}.vs-family-stage figure.vs-small svg{width:52px;height:88px}.vs-family-stage figcaption{font-size:9px;color:#56704e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:4px}.vs-family-stage>span{display:block;text-align:center;font-size:10px;color:#5c7351;margin-top:7px}.sf-family-row{background:#f1efd6;border:1px solid #d3c99f;border-radius:17px;padding:0 10px;margin:10px 0;grid-template-columns:1.2fr 1fr;gap:9px}.sf-family-row label{font-size:11px}.sf-note{background:#e9efd5;border-radius:12px;padding:10px;font-size:10px!important;line-height:1.5}#sf-next{position:sticky;bottom:0;z-index:3;width:100%;margin:12px 0;box-shadow:0 4px #0e5445,0 -6px 20px #fff8e7!important}#sf-back{width:100%;margin-bottom:5px}
/* Destinations are illustrated cards, each with its own shop or outdoor scene. */
.vs-place-menu{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.vs-place-menu>.choice{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;text-align:center;gap:5px;margin:0;padding:0 0 12px!important;overflow:hidden;min-width:0;font-size:13px!important;line-height:1.3!important;border-width:1.5px!important;background:#fffbe9}.vs-place-menu>.choice>span.vs-place-art{display:block;width:100%;height:110px;overflow:hidden;border-bottom:1.5px solid #c0bf91;background:#d6e6c4}.vs-place-art svg{height:110px;width:100%;display:block}.vs-place-menu>.choice b{font-size:13px!important;color:inherit;padding:5px 8px 0}.vs-place-menu>.choice small{font-size:10px!important;padding:0 8px;font-weight:400!important;line-height:1.4!important}.vs-place-menu>.choice.vs-wide-place{grid-column:1/-1;flex-direction:row;text-align:left;padding:9px 12px!important;min-height:48px}.vs-place-menu>.vs-wide-place .vs-place-art{width:70px;height:65px;border:0;border-radius:12px;flex:0 0 auto;margin-right:8px}.vs-place-menu>.vs-wide-place .vs-place-art svg{height:65px}.vs-place-caption{font-size:11px;line-height:1.6;color:#748268;background:#e5edcf;border-radius:14px;padding:12px}.vs-location-heading{display:flex;align-items:center;gap:12px;padding:14px;border-radius:20px;border:1px solid #c2c89d;background:#e5edd0;margin-bottom:12px}.vs-location-heading>span{font-size:27px;color:#538566}.vs-location-heading b{display:block;font-size:16px;color:#356c4a}.vs-location-heading small{display:block;font-size:10px;line-height:1.5;color:#7b8264;margin-top:4px}
/* Activity scenes open as their own game screen, with a clear stage strip. */
#modal:has(.h-activity),#modal:has(.d-activity){padding:0;background:#fff4dc;backdrop-filter:none}#modal:has(.h-activity) .dialog,#modal:has(.d-activity) .dialog{width:min(540px,100%);height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:20px 18px 24px;background:linear-gradient(#e5edce 0 72px,#fff7e4 72px);box-shadow:none}.h-activity{display:flex;flex-direction:column;min-height:calc(100dvh - 44px)}.h-activity h1{font-size:27px!important;margin:22px 0 10px}.h-activity h2{font-size:15px;line-height:1.4;margin:9px 0 13px;padding:12px 14px;border:1px solid #c0c69b;border-radius:15px;background:#f6efd6;color:#4d7350}.h-activity canvas{margin:auto 0 8px;width:100%;height:auto;max-height:none;border:2.5px solid #8d9c70;border-radius:23px;background:#ead4a3;box-shadow:0 5px #ceba8e;touch-action:none}.h-progress{height:9px;background:#e3d7b2;margin:12px 0 5px}.h-progress i{background:linear-gradient(90deg,#5cb58c,#147763);border-radius:9px}.h-activity #h-status{font-size:11px;text-align:center;padding:6px 10px;margin:0 0 11px;color:#6a7e60;line-height:1.5}.h-activity #h-finish{margin-top:8px;min-height:51px;flex-shrink:0}.h-activity #h-later{margin-top:12px;flex-shrink:0}.h-activity #h-washer-start{margin:10px 0}.vs-task-steps{display:flex;gap:6px;align-items:center;margin:0 0 4px}.vs-task-steps span{flex:1;text-align:center;border:1px solid #c2c8a2;background:#fff9e8;color:#81916f;border-radius:12px;font-size:9px;padding:8px 4px;min-width:0;line-height:1.4}.vs-task-steps .vs-now{background:#1d866a;color:#fff9e5;border-color:#17674f}.vs-task-steps .vs-done{background:#c8e2bc;color:#3c7651;border-color:#a3c195}.vs-task-mama{display:flex;align-items:center;gap:9px;padding:9px 13px;background:#f3e6bb;border-radius:16px;margin:8px 0}.vs-task-mama svg{width:42px;height:58px;flex:0 0 auto}.vs-task-mama p{font-size:11px!important;margin:0;line-height:1.5;color:#6a7756}.vs-task-mama strong{color:#4b7553;font-size:9px;display:block;letter-spacing:1px}.h-activity:has(#h-washer-start) .vs-task-mama{display:none}.d-activity .d-interactive-stage{border:2px solid #95a97c;border-radius:24px;background:#e5e9ce;margin:14px 0}.d-stepbar i.on{background:#19886a}.d-package{border-color:#b4c19c;background:#fffbea}.d-package.selected{background:#d5e8c5}.f-product{border-color:#b3c099;background:#fffcea;box-shadow:0 3px #d2c797}.f-product>b{color:#33724f}.f-products{gap:10px}.f-product-large{border-color:#c2b288;background:radial-gradient(ellipse,#fff9e5,#ead7aa)}.cozy-product{border-color:#aebc91;box-shadow:0 4px #cbd2a7}.cozy-product-art{background:repeating-linear-gradient(90deg,#e0edca 0 28px,#d4e4b8 28px 56px);border-bottom-color:#be9d6b}.cozy-shop .dialog{padding:23px 16px}.r-counter{border-radius:19px;overflow:hidden;border:1.5px solid #b9bb96}.r-counter-mama{background:#e2edce}.cozy-fullscreen{background:#deead2}.cozy-checkout{background:#fff5de;max-width:540px}.cozy-checkout-head{background:#e6edcf;border-bottom:1.5px solid #c2c49d}.cozy-checkout-head h1{font-size:23px;color:#366a4a}.cozy-scan-item{background:#fff9e7;border-color:#b9c49b;border-radius:18px}.cozy-mama-chat{background:#e4e9cd;border-radius:20px}.cozy-register{background:#175f4b;border:2px solid #96ba86}.cozy-checkout-body{padding:20px}.cozy-scan-items{gap:10px}.cozy-cashier-speech{font-size:12px;border-color:#93a47c}.r-counter-mama span small{color:#718366}.phone-device{border-color:#89a783}.phone-body{background:#edf1dc}.l-chat-row{border-color:#c3d0aa}.l-chat-avatar{background:#d8e9c9}.l-chat-popup{border-color:#7ca583}.l-sweet-chat{background-color:#ffe2eb}.f-cafe-menu{background:#fbf0d7}
@media(max-width:390px){.brand{font-size:21px}.brand-icon{width:28px;height:33px}.round{width:29px;height:30px}.playing-pill{max-width:86px;padding:4px;font-size:5px}.wallet{gap:8px;padding:7px}.wallet b{font-size:16px}.clock strong{font-size:22px}.clock>span{font-size:20px}.statusbar{gap:5px!important;padding:9px!important}.vs-place-menu{gap:9px}.vs-place-menu>.choice .vs-place-art{height:90px}.vs-place-art svg{height:90px}.dialog{padding:22px 15px}.h-activity h1{font-size:24px!important}.vs-task-steps span{font-size:8px;padding:7px 2px}.d-home-toolbar button{font-size:10px!important}.vs-family-stage figure svg{width:70px;height:110px}.sf-preview canvas{width:170px;height:214px}}
@media(min-width:700px){body{border-radius:0}.dialog:has(.sf-setup){width:540px}.vs-place-menu>.choice .vs-place-art{height:125px}.vs-place-art svg{height:125px}}
@media(prefers-reduced-motion:reduce){button{transition:none}.sf-live i{animation:none}}
.vs-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.l-destination{border:1.5px solid #c58fa6;background:#fff1e8;border-radius:21px;overflow:hidden;box-shadow:0 3px #e4c3b8;margin:13px 0}.l-destination>svg{border-radius:16px;background:#f4d4df}.l-destination b{color:#9f416b}.l-destination small{color:#8c6b72}.l-destination>strong{color:#b5628d}
.vs-place-menu>.choice.vs-wide-place>span.vs-place-art{width:70px;max-width:70px;height:65px;border:0;border-radius:12px;flex-shrink:0}.vs-place-copy{flex:1;min-width:0}.vs-place-copy>b,.vs-place-copy>small{display:block;padding:0!important}.vs-place-copy>small{margin-top:5px}
.modal,.travel-overlay{width:min(100%,540px)}.whatsapp-popup{max-width:510px}.h-activity canvas{margin:12px 0 8px}.h-activity #h-finish{margin-top:auto}
