*{box-sizing:border-box} :root{--navy:#132d4d;--ink:#183655;--blue:#a9c5d9;--cream:#fff8ec;--gold:#c59d5c;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:#e7e5dc;font-synthesis:none}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d69b35;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.page{padding:24px}.layout{display:grid;grid-template-columns:minmax(300px,460px) minmax(260px,420px);gap:34px;justify-content:center;align-items:start}.experience{position:relative;height:min(840px,calc(100dvh - 70px));aspect-ratio:9/16;width:auto;max-width:100%;margin:0 auto;overflow:hidden;border:1px solid #bdccd5;border-radius:25px;background:#faf5e9 url('frame.png') center/100% 100%;box-shadow:0 20px 50px #243d5020;display:flex;flex-direction:column;isolation:isolate;container-type:inline-size}.brandbar{height:76px;flex-shrink:0;padding:15px 24px 7px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}.brandbar>div:first-child{display:grid;grid-template-columns:27px 1fr;column-gap:7px;align-items:center;max-width:75%}.brand-emblem{grid-row:1/3;width:27px;color:#21556a}.brand{font-family:Georgia,'Songti SC',serif;font-size:18px;font-weight:700;line-height:1.1}.brandbar small{font-size:10px;letter-spacing:1px;line-height:1.3;margin-top:4px}#brandLogo{max-height:42px;max-width:170px}.header-actions{display:flex;align-items:center;gap:4px}.language select{height:34px;max-width:70px;border:1px solid #c4b493;border-radius:10px;background:#fff9edeb;padding:4px 7px;font-size:12px;color:var(--navy)}.header-actions #wallet{font-size:10px;max-width:60px;padding:3px}.screens{flex:1;position:relative;min-height:0}.screen{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:8px 24px 48px;scrollbar-width:thin;scrollbar-color:#b8cbd6 transparent}.game-footer{position:absolute;bottom:7px;left:0;right:0;z-index:8;text-align:center;pointer-events:none}.game-footer a{display:inline-block;pointer-events:auto;text-decoration:none;font-size:11px;color:var(--navy);padding:4px 12px;border-radius:30px;background:#fff8ebee}.game-footer strong{color:#176589}.page-footer{max-width:914px;margin:13px auto 0;display:flex;gap:20px;font-size:12px;color:#566e78}.page-footer a{color:inherit}.sidebar{padding:30px;background:#fffaf0e8;border:1px solid #bccbd2;border-radius:24px}.sidebar h2{font-family:Georgia,serif;font-size:26px}.rank-row{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid #d9cbaa}.rank-content p,.sidebar-note{font-size:13px;line-height:1.6}.sidebar-note{margin-top:35px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.2px;margin:5px 0 10px;color:#9b7339}.primary,.secondary{width:100%;min-height:48px;border-radius:16px;font-weight:750;padding:10px 14px}.primary{color:#fff9ed;border:1px solid #102842;background:linear-gradient(125deg,#2e4b71,#0e2945);box-shadow:inset 0 1px 0 #ffffff45,0 4px 0 #0c24441a;font-size:20px}.primary:hover{filter:brightness(1.12)}.primary:disabled{opacity:.55}.secondary{border:1px solid #b7ae9b;background:#fffcf3d9;font-size:15px}.text-button{background:none;border:0;min-height:40px;padding:8px 4px;color:#213d56;font-size:13px;text-decoration:none;font-weight:650}.round,.icon-button{width:44px;height:44px;min-width:44px;padding:10px;border:1px solid #bdcfdb;border-radius:50%;background:#fcf8ed;color:#1a3956;font-size:22px;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:23px;height:23px}.small{font-size:12px;line-height:1.55}.section-heading{text-align:center;margin:3px 0 15px}h1{font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif;font-weight:800;font-size:clamp(25px,8cqw,38px);line-height:1.15;margin:12px 0;white-space:pre-line}.section-heading p{font-size:13px;margin:8px 0;color:#557287}.cover{position:relative;overflow:hidden;padding:0 22px 36px;display:flex;flex-direction:column;justify-content:space-between}.cover-art{position:absolute;inset:-76px 0 0;width:100%;height:calc(100% + 76px);object-fit:fill;z-index:-1}.cover-heading{text-align:center}.cover-heading h1{font-size:clamp(28px,9cqw,43px);letter-spacing:-1px;margin:5px 0 9px;color:#0c2340;line-height:1.08;text-shadow:0 1px #fff}.cover-heading>.eyebrow{font-family:Georgia,serif;font-size:10px;letter-spacing:3px;margin:0 0 5px}.cover-heading>[data-content=subtitle]{display:none}.dates{font-size:12px;font-weight:700;margin:7px 0}.cover-bottom{text-align:center;background:linear-gradient(transparent,#fff8ebe8 18%,#fff8eb);padding:17px 0 0}.cover-bottom>.eyebrow{display:none}.cover-bottom h2{border:1px solid #ceac72;outline:4px solid #fff8ebc9;padding:10px 12px;background:#fff0d6ed;color:#8c3d20;font-family:Georgia,'Songti SC',serif;font-size:clamp(15px,4.7cqw,22px);line-height:1.25;margin:0 0 12px}.cover-bottom .small{margin:10px 0 0}.cover-bottom .text-button{min-height:29px;padding:3px}.shopping-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}.shopping-steps li{background:linear-gradient(110deg,#fffdf5,#f1e5d2);border:1px solid #ddc9a8;padding:12px 14px;border-radius:4px 14px 4px 14px;box-shadow:3px 5px 0 #20486b12}.step-title{display:flex;align-items:center;gap:10px}.step-title>b{border-radius:50%;background:linear-gradient(#a8c8dd,#5f7e9c);box-shadow:1px 2px 0 #9c795933;color:white;width:29px;height:29px;text-align:center;line-height:29px;flex-shrink:0}.step-title strong{font-size:15px;line-height:1.3}.shopping-steps p{font-size:12px;line-height:1.45;margin:7px 0 0}.mini-list{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}.mini-list>span{display:flex;flex-direction:column;text-align:center;gap:2px}.mini-list small{font-size:10px;line-height:1.2}.mini-list b{font-size:11px}.product-art{display:block;min-width:0}.product-art svg{width:100%;height:100%;display:block}.mini-list .product-art{height:48px}.tap-demo{display:flex;align-items:center;justify-content:center;position:relative;height:70px;gap:15px}.tap-demo .product-art{height:62px;width:48px}.tap-demo strong{font-size:22px;color:#2e6a64;margin-right:12px}.tap-ring{color:#c19a68;font-size:31px;margin-left:-25px;margin-top:30px}.wrong-example{font-size:18px;color:#b84e37}.bag-demo{display:flex;gap:15px;align-items:center;justify-content:center}.bag-demo img{height:90px;max-width:45%;object-fit:contain}.bag-demo p{max-width:55%}.platform-note{font-size:12px;text-align:center;line-height:1.4;margin:13px 0;color:#655438}#instructions>.primary{margin-top:0}#instructions>.text-button{display:block;margin:auto}.result-heading{text-align:center;display:flex;flex-direction:column}.result-heading h1{order:0;font-size:clamp(27px,8cqw,39px);margin:3px 0 10px}.result-heading>.eyebrow{display:none}.score-medallion{order:1;background:linear-gradient(115deg,#edf5fa,#fffaf0);border:1px solid #adc4d7;border-radius:18px;padding:12px}.score-trophy{display:none}.result-score{font-family:Georgia,serif;font-size:35px}.score-medallion p{font-size:12px;margin:5px 0}.result-illustration{order:2;height:215px;width:100%;object-fit:contain;margin:8px 0 0}#saveStatus{order:3;font-size:12px;margin:0}#retrySave{order:4}.result[data-outcome=lose] .result-illustration{height:130px;filter:grayscale(.5);opacity:.65}.reward{display:grid;grid-template-columns:65px 1fr;gap:7px 10px;margin:9px 0 15px;background:#fff1d9;border:1px solid #cea66b;padding:12px;border-radius:7px}.reward-art{display:block;background-position:center;background-size:contain;background-repeat:no-repeat}.reward>.reward-art{grid-column:1;grid-row:1/3;min-height:65px}.reward .eyebrow{grid-column:2;margin:0;font-size:10px;letter-spacing:0;color:#5a754b}.reward h2{grid-column:2;font-family:Georgia,'Songti SC',serif;font-size:19px;line-height:1.3;margin:0;color:#914024}.reward .primary{grid-row:3;grid-column:1/-1;margin-top:6px}.offer-terms{grid-row:4;grid-column:1/-1;font-size:11px}.offer-terms summary{text-align:center;cursor:pointer;padding:5px}.offer-terms p{line-height:1.5}.result-actions{display:flex;gap:10px}.result-detail{border:1px solid #c7c4b8;background:#fffaf0eb;border-radius:12px;margin:10px 0;padding:10px 13px;font-size:13px}.result-detail summary{font-size:15px;font-weight:700;cursor:pointer;min-height:24px}.result-detail p{line-height:1.5}.result-navigation{display:flex;justify-content:space-between;gap:6px;background:#fff9ebdc;border-radius:9px;margin-top:12px}.result-navigation .text-button{font-size:11px;white-space:nowrap}.shop-links{display:flex;gap:10px}.shop-channel{width:44px;height:44px;padding:10px;border:1px solid #c2ced7;border-radius:50%;color:var(--ink);background:#fff8eb;display:inline-flex}.shop-channel svg{height:22px;width:22px}.shop-channel:disabled{opacity:.4}.claim-screen h1{text-align:center;font-size:clamp(24px,7cqw,34px);margin:12px 0 20px}.back-result{font-size:12px}.claim-summary{display:flex;gap:13px;align-items:center;background:#fff0d8;border:1px solid #cfa76a;border-radius:12px;padding:13px;margin-bottom:15px}.claim-summary .reward-art{width:66px;height:85px;flex-shrink:0}.claim-summary h2{font-family:Georgia,'Songti SC',serif;font-size:20px;line-height:1.25;color:#8b3d24;margin:0}.claim-summary .eyebrow{font-size:10px;letter-spacing:1px}.notice{padding:13px;border-radius:12px;background:#ffe7d8;color:#a33d26;font-size:12px;line-height:1.5;margin:15px 0 18px}label.field{display:block;margin-bottom:16px}label.field>span{display:block;font-size:14px;font-weight:650;margin-bottom:7px}input:not([type=checkbox]),#townField select{width:100%;height:47px;padding:10px 13px;border:1px solid #b8c3cb;border-radius:10px;background:#fffdfa;color:var(--navy)}input::placeholder{color:#83909b;font-size:13px}.checkbox{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin:16px 0}.checkbox input{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:#254c6f}#submitClaim{margin-top:10px}#cancelClaim{display:block;margin:5px auto}#privacyLink{font-size:12px}.voucher{text-align:center;padding:22px 15px;background:#fff9ec;border:1px solid #c2a77b;border-radius:16px;margin:20px 0}.voucher .pill{display:block;color:#b74430;font-weight:800}.voucher strong{display:block;font-size:26px;letter-spacing:2px}.voucher p{font-size:13px;line-height:1.5}.voucher .actions{display:flex;gap:8px}.voucher .actions>*{flex:1}#claimStatus,#shareStatus{font-size:12px;line-height:1.4}dialog{max-width:min(88vw,380px);border:1px solid #aac0d1;border-radius:20px;color:var(--ink);background:#fff9ef;padding:26px}dialog::backdrop{background:#0e263fc9}dialog p{font-size:14px;line-height:1.65}dialog .header-actions{margin:10px 0}dialog .text-button{display:block;margin:auto}.global-status{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:90%;background:#15354ef2;color:#fff;border-radius:10px;padding:14px;z-index:100}.brandbar:has(#brandLogo:not([hidden])) .brand-emblem{display:none}
/* Play: a paper shopping list above twelve illustrated shelf compartments. */
body[data-screen=play] .brandbar{display:none}.play{display:flex;flex-direction:column;gap:10px;padding:13px 14px 42px;background:#bed2e2a1;overflow:hidden}.shop-hud{display:flex;align-items:center;justify-content:space-between;border-radius:15px;background:linear-gradient(110deg,#284666,#102a47);color:#fff8ec;padding:9px 13px;box-shadow:0 4px 0 #112a411a;flex-shrink:0}.shop-hud>div:first-child{display:flex;flex-direction:column}.shop-hud small{font-size:11px}.shop-hud b{font-size:23px}.timer{border-radius:30px;background:#0c2139;padding:7px 14px;display:flex;gap:6px;align-items:center}.timer b{font-size:23px}.timer span{font-size:25px}.shop-hud .round{background:#233f60;color:white;border-color:#b8c5d6;width:38px;height:38px;min-width:38px;padding:7px;box-shadow:0 0 0 4px transparent}.shopping-list{flex-shrink:0;border:1px solid #d2c3a9;background:#fff7e8;padding:10px 12px 9px;box-shadow:2px 5px 0 #25436112;border-radius:3px}.list-heading{display:flex;justify-content:space-between;gap:6px;font-size:12px;align-items:center;margin-bottom:7px}.list-heading>span{font-size:11px;white-space:nowrap}#shoppingList{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}#shoppingList>div{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;border-right:1px solid #cbbda044}#shoppingList>div:last-child{border:0}#shoppingList .product-art{height:47px;width:55px}#shoppingList span{font-size:10px;line-height:1.15}#shoppingList b{font-size:12px}#shoppingList .complete{color:#2d7760}#shoppingList .complete .product-art{opacity:.45}.height-track{height:4px;background:#c2b59b5c;border-radius:5px;margin-top:9px;overflow:hidden}.height-track i{display:block;background:#456b8d;height:100%;width:0;transition:width .2s}.product-grid{flex:1;min-height:160px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:7px;padding:4px;position:relative;outline:none!important}.product-tile{position:relative;min-height:0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #a0b8c8;border-radius:11px;background:linear-gradient(130deg,#f4eee1,#b1c9d8);box-shadow:inset 2px 3px 5px #0a335c16,0 2px 1px #ffffffb0;padding:7px 4px;overflow:visible}.product-tile:nth-child(3n){background:linear-gradient(130deg,#f9edda,#dcc5a6)}.product-tile .product-art{flex:1;min-height:0;width:95%;max-height:110px;transition:opacity .15s}.product-name{font-size:9px;font-weight:700;line-height:1.15;text-align:center;flex-shrink:0}.product-tile:hover:not(:disabled){border-color:#d89734;filter:brightness(1.04)}.product-tile.spotlight{border:2px solid #c99138;box-shadow:inset 0 0 0 2px #fff0bd,0 0 10px #dfb05c60}.product-tile.spotlight::after{content:'★';position:absolute;top:-7px;right:-3px;border-radius:50%;background:#fff1bc;color:#af7a26;font-size:15px;width:22px;height:22px;line-height:22px}.product-tile.picked{background:#e9ede8;border-color:#b2c9c4}.product-tile.picked .product-art{opacity:.15}.product-tile.picked .product-name{color:#376e61}.item-pop{position:absolute;z-index:9;left:50%;top:0;transform:translate(-50%,-25%);color:#214e67;text-shadow:2px 0 #fff,-2px 0 #fff,0 2px #fff,0 -2px #fff;font-size:26px;white-space:nowrap;pointer-events:none;animation:itemRise .9s ease-out both}.item-pop.negative{color:#bd3d2a}.wrong{animation:shake .3s}.shopping-bag{position:relative;flex-shrink:0;background:linear-gradient(100deg,#e6d7bb,#fff6e4);border:1px solid #baa888;border-radius:5px 5px 15px 15px;padding:8px 12px 10px;box-shadow:3px 4px 0 #28476118;margin:5px 4px 0}.shopping-bag:before,.shopping-bag:after{content:'';position:absolute;width:12px;height:20px;border:4px solid #c7ae7f;border-bottom:0;top:-15px;border-radius:20px 20px 0 0}.shopping-bag:before{left:15px}.shopping-bag:after{right:15px}.bag-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}#bagSlots{display:flex;gap:4px}#bagSlots>i{flex:1;max-width:12.5%;height:32px;border:1px dashed #cab998;border-radius:4px;padding:2px;background:#fff8ea65}.play-hint{font-size:11px;text-align:center;line-height:1.2;margin:0;min-height:14px;flex-shrink:0}.shop-tools{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:8px}.shop-tools>span{font-size:10px;text-align:center}.shop-tools .icon-button,.shop-tools .round{background:#fff9ecba;border-color:#879fb5;width:44px;height:44px;font-size:20px}.urgent{color:#ffbd84}.result[data-outcome=wallet] .result-illustration{height:160px}@keyframes itemRise{0%{opacity:1;transform:translate(-50%,-5%)}65%{opacity:1}100%{opacity:0;transform:translate(-50%,-120%)}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@media(max-width:840px){.page{padding:0}.layout{display:block}.sidebar{display:none}.experience{height:100dvh;min-height:440px;width:100%;max-width:560px;aspect-ratio:auto;border-radius:0;border:0}.page-footer{padding:8px 15px;margin:0}.brandbar{padding-top:max(15px,env(safe-area-inset-top));height:78px}.game-footer{bottom:max(7px,env(safe-area-inset-bottom))}.screen{padding-bottom:calc(48px + env(safe-area-inset-bottom))}.cover{padding-bottom:calc(40px + env(safe-area-inset-bottom))}.play{padding-bottom:calc(40px + env(safe-area-inset-bottom))}.cover-art{object-fit:fill}.product-tile .product-art{max-height:145px}}
@media(max-height:700px){.brandbar{height:61px;padding-top:10px}.brand{font-size:16px}.screen{padding-left:18px;padding-right:18px}.cover-art{top:-61px;height:calc(100% + 61px)}.cover-heading h1{font-size:30px}.cover-heading>.eyebrow{font-size:9px}.dates{font-size:10px}.cover-bottom h2{font-size:17px;padding:8px}.cover-bottom .primary{min-height:43px;font-size:19px}.cover-bottom .small{font-size:10px;margin-top:7px}.section-heading{margin:0 0 9px}.section-heading h1{font-size:28px;margin:4px 0}.section-heading p{font-size:11px;margin:5px 0}.shopping-steps{gap:8px}.shopping-steps li{padding:9px 11px}.step-title strong{font-size:13px}.step-title>b{width:25px;height:25px;line-height:25px}.mini-list .product-art{height:36px}.tap-demo{height:48px}.tap-demo .product-art{height:45px}.bag-demo img{height:60px}.shopping-steps p{font-size:10px}.platform-note{font-size:10px;margin:8px 0}.primary{min-height:43px;font-size:18px}.result-illustration{height:160px}.result-score{font-size:30px}.play{padding:8px 10px 35px;gap:7px}.shop-hud{padding:6px 10px}.shop-hud b,.timer b{font-size:20px}.timer{padding:3px 10px}.shopping-list{padding:7px 9px}.list-heading{margin-bottom:4px;font-size:11px}#shoppingList .product-art{height:34px;width:44px}.height-track{margin-top:5px}.product-grid{gap:5px;min-height:135px}.product-tile{padding:4px 2px;gap:2px}.product-name{font-size:8px}.shopping-bag{padding:5px 10px;margin-top:4px}#bagSlots>i{height:25px}.play-hint{font-size:9px}.shop-tools .icon-button,.shop-tools .round{height:44px;width:44px}.shop-tools>span{font-size:9px}.brandbar small{font-size:8px}.language select{height:31px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.item-pop{opacity:1}.cover-art{transform:none}}

h1[tabindex="-1"]:focus{outline:none}

@media(max-width:840px){.page-footer{display:none}}
/* Three-list challenge: the approved paper artwork stays unchanged. */
.play{position:relative}.product-grid{grid-auto-rows:minmax(0,1fr)}#bagSlots{justify-content:center}#bagSlots>i{max-width:22%;height:35px}.bag-ribbon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:48px;opacity:0;pointer-events:none;z-index:4}.bag-ribbon:before{content:'';position:absolute;top:0;bottom:0;width:14px;background:#234566;border-left:2px solid #d7b668;border-right:2px solid #d7b668;z-index:-1}.pack-note{display:none;position:absolute;top:45%;left:8%;right:8%;z-index:15;margin:0;padding:16px 12px;text-align:center;border:1px solid #c4a16b;border-radius:14px;background:#fff8edfa;box-shadow:0 8px 30px #19314d38;color:#16344f;font-weight:750;font-size:17px;pointer-events:none}.packing .pack-note{display:block}.packing .shopping-bag{animation:packBag 1.4s ease-in-out both}.packing .bag-ribbon{animation:tieRibbon 1.4s ease-in-out both}.packing .product-grid{opacity:.55}.flying-product{position:absolute;width:40px;height:50px;z-index:12;pointer-events:none;animation:flyBag .48s ease-in both}.item-pop{font-size:24px;top:5px;line-height:1.1}.item-pop small{display:block;font-size:11px;background:#fff6dfee;color:#205d62;border:1px solid #d4bc80;border-radius:8px;padding:4px 5px;text-shadow:none;line-height:1.2;white-space:normal;min-width:74px;max-width:110px}.combo-spark{position:absolute;inset:0;pointer-events:none;color:#e2b74f;font-size:40px;text-shadow:0 1px white;animation:spark .7s ease-out both}.result-stars{font-size:30px;letter-spacing:6px;color:#b58329;line-height:1.2;margin-top:9px}.rating-hint{font-size:11px!important;line-height:1.4;max-width:290px;margin:5px auto!important}#roundDots{color:#8e6c35;letter-spacing:2px}.paused *{animation-play-state:paused!important}.packing .play-hint{font-weight:700;color:#264f68}
@keyframes flyBag{0%{opacity:1;transform:translate(0,0) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(var(--fly-x),var(--fly-y)) scale(.4)}}
@keyframes packBag{0%,32%{transform:translateX(0) scale(1)}45%{transform:translateX(0) scale(1.04)}65%{transform:translateX(0) scale(1)}100%{transform:translateX(120%);opacity:0}}
@keyframes tieRibbon{0%,38%{opacity:0;transform:scale(.3)}50%,100%{opacity:1;transform:scale(1)}}
@keyframes spark{0%{opacity:1;transform:scale(.5) rotate(0)}100%{opacity:0;transform:scale(1.4) rotate(35deg)}}
@media(max-height:700px){#bagSlots>i{height:27px}.pack-note{font-size:14px;padding:12px}.item-pop{font-size:21px}.item-pop small{font-size:9px}.result-stars{font-size:25px}}
@media(prefers-reduced-motion:reduce){.packing .bag-ribbon{opacity:1}.packing .shopping-bag{opacity:1;transform:none}.flying-product,.combo-spark{display:none}}

.bag-ribbon i{position:absolute;left:0;right:0;top:50%;height:12px;background:linear-gradient(#416486,#173752);border-block:1px solid #cba966;transform:translateY(-50%)}.bag-ribbon b{position:relative;width:15px;height:18px;border-radius:4px;background:#173552;border:1px solid #cba966}.bag-ribbon b:before,.bag-ribbon b:after{content:'';position:absolute;width:28px;height:20px;top:-4px;border:1px solid #cba966;background:linear-gradient(135deg,#577c9c,#1b3c5c);z-index:-1}.bag-ribbon b:before{right:7px;border-radius:14px 4px 8px 14px;transform:rotate(18deg)}.bag-ribbon b:after{left:7px;border-radius:4px 14px 14px 8px;transform:rotate(-18deg)}
dialog{max-height:calc(100dvh - 28px);overflow-y:auto}

/* Sihat reward and continued shopping. */



#finishShop{position:absolute;z-index:3;left:50%;top:146px;transform:translateX(-50%);max-width:75%;background:#fff3c8ed;color:#66360b;border:1px solid #e5b65a;border-radius:18px;padding:8px 16px;font-family:inherit;font-size:12px;font-weight:700;min-height:40px;cursor:pointer}
#shopCountdown{position:absolute;z-index:8;top:48%;left:50%;transform:translate(-50%,-50%);background:#8b301ef2;color:#fff4d4;border:2px solid #e7c98e;border-radius:20px;padding:18px 24px;font-size:25px;font-weight:900;white-space:nowrap;pointer-events:none}
#shopReward{position:fixed;margin:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px 22px;border:2px solid #c99a52;border-radius:26px;text-align:center;color:#57320d;background:linear-gradient(150deg,#fffaf0,#f6e8bf);box-shadow:0 20px 70px #163e3866}
#shopReward::backdrop{background:#633218d9;backdrop-filter:blur(4px)}
#shopReward h2{font-size:clamp(23px,6vw,31px);line-height:1.2;margin:8px 0}#shopReward p{position:relative;margin:10px 0;line-height:1.45}
#shopReward .shop-reward-offer{font-size:clamp(22px,5.5vw,29px);font-weight:900;color:#bb2633}
#shopReward button{position:relative;width:100%;min-height:48px;margin-top:10px;font-size:17px}
#shopReward .shop-reward-art{width:110px;margin:0 auto}
.shop-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:24px}.shop-confetti i{position:absolute;left:calc(var(--i)*5.5%);top:-16px;width:8px;height:14px;background:#c99a52;animation:shopConfetti 2.6s calc(var(--i)*-.14s) ease-out 2}.shop-confetti i:nth-child(3n){background:#258254}.shop-confetti i:nth-child(3n+1){background:#d8363f;border-radius:50%}
@keyframes shopConfetti{from{transform:translateY(0) rotate(0)}to{transform:translateY(560px) rotate(580deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.shop-confetti{display:none}}
@media(max-height:650px){#shopReward{padding:15px}#shopReward .shop-reward-art{width:75px}}

#shopReward .shop-reward-art{height:110px;width:140px;margin:0 auto;background-repeat:no-repeat}#shopReward .primary,#shopReward .secondary{font-size:clamp(16px,4vw,22px)}

#finishShop{position:static;transform:none;flex:none;margin:4px auto 0;max-width:80%;font-size:12px;padding:7px 12px;min-height:36px}.reward-continued .keyboard-note{display:none}#shopReward .shop-reward-art{width:150px}#shopReward .primary{font-size:18px}

#shopReward .shop-reward-art{display:block;width:130px;height:115px;object-fit:contain;margin:0 auto}#finishShop{display:block;margin:6px auto;background:#17644e;color:#fff;border:1px solid #9dbe8d;border-radius:999px;min-height:40px;padding:8px 18px;font-weight:700}#finishShop[hidden]{display:none}#bagSlots{grid-template-columns:repeat(6,minmax(0,1fr))}.reward-continued #bagSlots i{min-width:0}#shopReward{font-family:inherit}#shopReward::backdrop{background:rgba(8,43,32,.62)}
