*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#030811;color:#fff}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}:root{--gold:#fdb827;--green:#10a95b;--line:#1d2b3c;--muted:#7e8fa5}.page{min-height:100vh}.hero{display:grid;place-items:center;text-align:center;padding:24px;background:radial-gradient(circle at 70% 15%,#0d4b34 0,transparent 35%),linear-gradient(160deg,#02070d,#07111f)}.hero h1{font-size:46px;line-height:.95;margin:10px 0}.hero h1 span,.brand span{color:var(--gold)}.hero p{color:#95a4b8;max-width:420px}.btn{min-height:54px;border:0;border-radius:12px;font-weight:1000;font-size:9px;padding:0 13px;display:flex;align-items:center;justify-content:center}.main{background:linear-gradient(135deg,#16b768,#0d9150);color:#fff}.gold{background:linear-gradient(135deg,#ffe173,#fdb827);color:#06100b}.ghost{background:#111d2a;color:#fff;border:1px solid var(--line)}.full{width:100%}.stack{display:grid;gap:8px}.setup{max-width:560px;margin:auto;padding:22px 12px}.setup label{display:block;font-size:8px;color:#9aa9bb;font-weight:900;margin-top:10px}.setup input,.setup select{width:100%;min-height:47px;margin-top:5px;padding:0 10px;border:1px solid #29394e;border-radius:10px;background:#07111f;color:#fff}.starters{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 14px}.starter{position:relative;padding:12px;border:1px solid #28384c;border-radius:12px;background:#0b1725;color:#fff;text-align:left}.starter input{position:absolute;opacity:0;pointer-events:none}.starter:has(input:checked){border-color:#fdb827;background:#161607}.starter span{font-size:25px}.starter b{display:block;margin-top:6px}.starter small{display:block;margin-top:3px;color:#8090a5;font-size:7px}.wrap{max-width:720px;margin:auto;padding:10px 9px 85px}.top{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid var(--line);border-radius:13px;background:#0a1522;position:sticky;top:0;z-index:5}.brand{font-weight:1000}.cash{margin-top:9px;padding:16px;border:1px solid #4a3c11;border-radius:17px;background:linear-gradient(180deg,#111e30,#08121e)}.cash small,.stat span{display:block;color:#8090a5;font-size:7px;font-weight:900}.cash strong{display:block;font-size:36px;margin:3px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.stat{padding:8px 5px;background:#0a1623;border-radius:10px;text-align:center}.stat strong{display:block;margin-top:4px;font-size:10px}.card{margin-top:9px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#0a1623}.biztop{display:flex;align-items:center;gap:9px}.biztop .ico{font-size:34px}.biztop h2{margin:0}.price{display:grid;grid-template-columns:45px 1fr 45px;align-items:center;margin-top:10px}.price button{height:40px;border:0;border-radius:9px;background:#142236;color:#fff;font-size:20px}.price strong{text-align:center}.actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.actions .btn{min-height:68px;font-size:8px}.event{display:none;margin-top:9px;padding:10px;border:1px solid #5a4915;border-radius:12px;background:#171506}.event b{display:block}.event p{margin:4px 0 0;color:#c1b892;font-size:8px}.panel{margin-top:9px}.row{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px;border-radius:10px;background:#0d1928;margin-top:6px}.row small{display:block;color:#7c8da3;font-size:7px;margin-top:2px}.positive{color:#75e8a7}.negative{color:#fca5a5}.nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(720px,100%);display:grid;grid-template-columns:repeat(4,1fr);padding:6px;background:#06101b;border-top:1px solid var(--line)}.nav button{min-height:50px;border:0;background:transparent;color:#8292a8}.nav button.active{color:#fdb827}.modal{display:none;position:fixed;inset:0;z-index:20;place-items:center;padding:15px;background:#000c}.modal.show{display:grid}.modalbox{width:min(420px,100%);padding:20px;border:1px solid #29394e;border-radius:18px;background:#0b1725;text-align:center}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.grid2 div{padding:9px;border-radius:9px;background:#111f2f}.errorbox{display:none;padding:15px;background:#401b22;color:#fecaca;white-space:pre-wrap;font-size:12px}@media(max-width:460px){.stats{grid-template-columns:1fr 1fr}.hero h1{font-size:39px}}
/* v2 GAME UI */
body{background:
radial-gradient(circle at 50% -10%,rgba(0,135,81,.16),transparent 35%),
linear-gradient(#02070d,#030811);overflow-x:hidden}
.wrap{max-width:1040px;padding:12px 12px 100px}
.top{background:rgba(7,17,31,.92);backdrop-filter:blur(14px);border-color:#24364c}
.cash{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:118px;
background:radial-gradient(circle at 90% 10%,rgba(253,184,39,.15),transparent 32%),linear-gradient(135deg,#0b1929,#101d2e)}
.cash:after{content:"💵";font-size:52px;filter:drop-shadow(0 8px 12px #0008)}
.stats{grid-template-columns:repeat(4,1fr)}
.stat{border:1px solid #17283a;background:linear-gradient(180deg,#0d1b2a,#091522)}
.card{box-shadow:0 16px 45px #0004}
.biztop{position:relative;z-index:2}
.biztop .ico{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;
background:linear-gradient(145deg,#18324a,#0b1724);font-size:40px;box-shadow:inset 0 0 0 1px #29425a}
#businessName{font-size:26px}
.game-scene{position:relative;overflow:hidden;height:285px;margin-top:10px;border-radius:18px;
border:1px solid #29415a;background:linear-gradient(#6bc5ee 0 42%,#88c46b 42% 63%,#70553d 63%);
box-shadow:inset 0 -40px 70px #0003}
.game-scene:before{content:"☀️";position:absolute;right:24px;top:18px;font-size:42px}
.game-scene:after{content:"🌴";position:absolute;right:18px;bottom:28px;font-size:90px}
.scene-road{position:absolute;left:0;right:0;bottom:0;height:70px;background:#30363c;border-top:5px solid #e5c84b}
.scene-shop{position:absolute;left:8%;bottom:54px;width:48%;height:142px;border-radius:12px 12px 4px 4px;
background:linear-gradient(90deg,#e8b24c,#ffd46d);border:5px solid #6f4425;box-shadow:0 14px 25px #0005}
.scene-shop:before{content:"JAMAICA HUSTLE";position:absolute;left:8%;right:8%;top:10px;padding:7px 3px;
text-align:center;font-weight:1000;font-size:12px;color:#fff;background:#008751;border-radius:6px}
.scene-shop:after{content:"🍗  🥤  🍛";position:absolute;left:10%;right:10%;bottom:20px;padding:15px 5px;
text-align:center;font-size:26px;background:#442a1a;border:4px solid #fff3;border-radius:6px}
.customer{position:absolute;bottom:57px;font-size:52px;filter:drop-shadow(0 8px 5px #0005);animation:bob 1.1s ease-in-out infinite alternate}
.customer.c1{left:61%}.customer.c2{left:72%;animation-delay:.2s}.customer.c3{left:83%;animation-delay:.4s}
@keyframes bob{to{transform:translateY(-5px)}}
.scene-label{position:absolute;left:12px;top:12px;padding:7px 10px;border-radius:20px;background:#07111fdd;
font-size:10px;font-weight:900}
.scene-status{position:absolute;left:12px;bottom:12px;padding:8px 11px;border-radius:10px;background:#07111fee;
font-size:9px}
.money-pop{position:absolute;left:55%;top:45%;font-size:24px;font-weight:1000;color:#d9ff70;opacity:0;pointer-events:none}
.money-pop.go{animation:moneyUp 1s ease-out}
@keyframes moneyUp{0%{opacity:0;transform:translateY(20px) scale(.7)}25%{opacity:1}100%{opacity:0;transform:translateY(-70px) scale(1.2)}}
.actions{grid-template-columns:repeat(3,1fr);gap:10px}
.actions .btn{min-height:82px;border-radius:16px;font-size:10px;box-shadow:0 10px 20px #0004;transition:.15s}
.actions .btn:active{transform:scale(.97)}
#openBtn{font-size:12px;background:linear-gradient(135deg,#10b65e,#08763e)}
#upgradeBtn{background:linear-gradient(135deg,#ffe06d,#f5a900)}
.price{max-width:480px;margin:15px auto 0;background:#07111f;padding:7px;border-radius:14px}
.price button{background:#152a40}
#priceValue{font-size:18px}
.event{animation:eventIn .35s ease-out}
@keyframes eventIn{from{opacity:0;transform:translateY(-10px)}}
.modalbox{background:radial-gradient(circle at 50% 0,#183b30,#0b1725 45%);box-shadow:0 30px 100px #000}
.modalbox h2{color:#fdb827;font-size:28px}
.grid2 div{border:1px solid #20354a}
.nav{max-width:1040px;background:#06101bf2;backdrop-filter:blur(12px)}
.nav button{font-size:11px}
@media(min-width:850px){
  .play-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12px;align-items:start}
  .play-grid>.card{margin-top:9px}
  .game-scene{height:330px}
}
@media(max-width:600px){
 .wrap{padding:8px 8px 90px}.cash{min-height:100px}.cash strong{font-size:31px}.cash:after{font-size:40px}
 .game-scene{height:235px}.scene-shop{left:5%;width:55%;height:125px}.customer{font-size:40px}
 .customer.c1{left:62%}.customer.c2{left:75%}.customer.c3{display:none}
 .actions{gap:5px}.actions .btn{min-height:72px;padding:5px;font-size:8px}
 #businessName{font-size:22px}.biztop .ico{width:54px;height:54px;font-size:34px}
}

/* v2.1 Food Stall gameplay polish */
.game-scene{isolation:isolate;background:linear-gradient(#66c9f2 0 46%,#92ce75 46% 67%,#6b523d 67%);min-height:300px}
.game-scene>*{z-index:2}.scene-skyline{position:absolute;z-index:0!important;left:0;right:0;bottom:33%;height:48px;opacity:.72;background:
linear-gradient(90deg,transparent 0 4%,#d8c38d 4% 12%,transparent 12% 15%,#c89b68 15% 25%,transparent 25% 29%,#e1b979 29% 40%,transparent 40% 47%,#b9865c 47% 58%,transparent 58% 100%)}
.scene-cloud{position:absolute;z-index:0!important;top:34px;font-size:38px;opacity:.9}.scene-cloud.one{left:18%}.scene-cloud.two{left:48%;top:55px;font-size:29px}
.scene-shop{z-index:3!important;background:linear-gradient(90deg,#e9aa3d,#ffd66c)}
.scene-counter{position:absolute;z-index:4!important;left:13%;bottom:72px;width:38%;height:38px;background:#51311e;border:4px solid #2f1d12;border-radius:5px}
.scene-counter:before{content:"PATTY  •  CHICKEN  •  DRINKS";display:block;text-align:center;color:#fff;font-size:8px;font-weight:1000;padding-top:8px}
.customer{z-index:5!important;transition:.4s}.scene-road{z-index:1!important}
.game-scene.opening .customer.c1{animation:customerBuy 1.3s ease-in-out infinite}.game-scene.opening .customer.c2{animation:customerBuy 1.3s .35s ease-in-out infinite}.game-scene.opening .customer.c3{animation:customerBuy 1.3s .7s ease-in-out infinite}
@keyframes customerBuy{0%,100%{transform:translateX(0)}50%{transform:translateX(-22px) translateY(-4px)}}
.scene-stock{position:absolute;z-index:6!important;right:12px;top:12px;background:#07111fe8;padding:8px 10px;border-radius:11px;font-size:9px;font-weight:900}
.tipbox{margin-top:10px;padding:11px 12px;border:1px solid #29415a;border-radius:12px;background:#0c1a28;font-size:10px;color:#c5d3df}
.tipbox.good{border-color:#176b43;background:#09261a}.tipbox.bad{border-color:#7b3434;background:#291111}
.result-title{font-size:10px;color:#8fa0b4;font-weight:900;margin-bottom:3px}.result-big{font-size:17px;font-weight:1000}
@media(max-width:600px){.game-scene{min-height:245px}.scene-counter{left:11%;width:43%;bottom:65px}.scene-stock{font-size:8px}}

/* v2.2 live business-day session */
#openBtn:disabled{opacity:.8;cursor:wait;filter:saturate(.8)}
.game-scene.opening{box-shadow:inset 0 0 0 3px rgba(16,185,129,.25),0 0 35px rgba(16,185,129,.18)}
.game-scene.opening .scene-shop{animation:shopPulse 1.1s ease-in-out infinite alternate}
@keyframes shopPulse{to{filter:brightness(1.08)}}

/* v2.3 progression + realistic customers */
.customer-layer{position:absolute;inset:0;z-index:5!important;pointer-events:none;overflow:hidden}
.walker{position:absolute;bottom:57px;right:-70px;font-size:48px;filter:drop-shadow(0 8px 5px #0005);will-change:transform,opacity}
.walker.to-counter{animation:walkToCounter 1.3s cubic-bezier(.25,.8,.25,1) forwards}
.walker.waiting{right:auto;left:58%;animation:customerIdle .45s ease-in-out infinite alternate}
.walker.leaving{right:auto;left:58%;animation:walkAway 1.25s cubic-bezier(.25,.8,.25,1) forwards}
.walker.no-buy{animation:walkPast 1.6s ease-in-out forwards;opacity:.9}
@keyframes walkToCounter{
  0%{transform:translateX(0) translateY(0);opacity:0}
  10%{opacity:1}
  100%{transform:translateX(-310px) translateY(0);opacity:1}
}
@keyframes customerIdle{to{transform:translateY(-3px)}}
@keyframes walkAway{
  0%{transform:translateX(0);opacity:1}
  100%{transform:translateX(340px);opacity:0}
}
@keyframes walkPast{
  0%{transform:translateX(0);opacity:0}
  12%{opacity:1}
  100%{transform:translateX(-560px);opacity:0}
}
.scene-shop,.scene-counter{transition:.35s ease}
.game-scene.food-stage-2 .scene-shop{width:54%;height:150px;background:linear-gradient(90deg,#efbb50,#ffe68d)}
.game-scene.food-stage-2 .scene-shop:before{content:"JAMAICA HUSTLE • FOOD SPOT"}
.game-scene.food-stage-2 .scene-counter:before{content:"PATTY • CHICKEN • DRINKS • LUNCH"}
.game-scene.food-stage-3 .scene-shop{left:7%;width:58%;height:160px;background:linear-gradient(90deg,#f7c15a,#fff0aa);border-color:#4b321f}
.game-scene.food-stage-3 .scene-shop:before{content:"JAMAICA HUSTLE • COOK SHOP";background:#075d3b}
.game-scene.food-stage-3 .scene-shop:after{content:"🍗  🥤  🍛  🥟  🍲";font-size:28px}
.game-scene.food-stage-4 .scene-shop{left:5%;width:63%;height:175px;background:linear-gradient(90deg,#f9d172,#fff4bf)}
.game-scene.food-stage-4 .scene-shop:before{content:"JAMAICA HUSTLE • RESTAURANT";background:#063d2a;font-size:13px}
.game-scene.food-stage-4 .scene-counter{width:48%;background:#392519}
.progress-card{margin-top:10px;padding:13px;border:1px solid #25405a;border-radius:15px;background:linear-gradient(180deg,#0b1929,#07121f)}
.progress-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-end}
.progress-head small{display:block;color:#fdb827;font-size:7px;font-weight:1000;letter-spacing:.12em}
.progress-head strong{display:block;margin-top:3px;font-size:15px}
.progress-head span{padding:5px 8px;border-radius:999px;background:#0f2536;color:#b9d7ef;font-size:7px;font-weight:1000}
.progress-track{height:8px;margin-top:10px;border-radius:99px;background:#122334;overflow:hidden}
.progress-track i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#00a859,#fdb827);transition:.35s}
.stage-goals{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}
.stage-goal{padding:8px;border-radius:10px;background:#0c1826;border:1px solid #172a3e}
.stage-goal span{display:block;color:#71859c;font-size:6px}
.stage-goal strong{display:block;margin-top:3px;font-size:8px}
.stage-goal.done{border-color:#16643e;background:#092219}
.stage-goal.done strong{color:#8cf0b6}
.milestone-pop{position:fixed;left:50%;top:18%;transform:translate(-50%,-20px);z-index:60;opacity:0;pointer-events:none;
padding:14px 18px;border-radius:16px;background:#0b2017;border:1px solid #1f8050;color:white;box-shadow:0 20px 60px #0008;text-align:center}
.milestone-pop.show{animation:milestone 2.2s ease both}
@keyframes milestone{0%{opacity:0;transform:translate(-50%,-25px) scale(.9)}15%,75%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-10px) scale(.96)}}
@media(max-width:600px){
 .walker{font-size:39px}
 @keyframes walkToCounter{0%{transform:translateX(0);opacity:0}10%{opacity:1}100%{transform:translateX(-205px);opacity:1}}
 @keyframes walkAway{0%{transform:translateX(0);opacity:1}100%{transform:translateX(230px);opacity:0}}
 @keyframes walkPast{0%{transform:translateX(0);opacity:0}12%{opacity:1}100%{transform:translateX(-360px);opacity:0}}
 .stage-goals{grid-template-columns:1fr}
}

/* ===== Jamaica Hustle v3 Professional UI ===== */
:root{--jh-bg:#050a10;--jh-panel:#0b151f;--jh-panel2:#101d29;--jh-green:#18b760;--jh-gold:#ffbd28;--jh-red:#e53d3d;--jh-text:#f5f7fa;--jh-soft:#91a0af}
body{background:#050a10;color:var(--jh-text)}
.wrap{max-width:1180px;padding:10px 12px 110px}
.top{height:62px;border:1px solid #20303f;background:rgba(7,15,23,.96);border-radius:15px}
.brand{font-size:18px;letter-spacing:-.03em}.brand span{color:var(--jh-gold)}
.cash{min-height:auto;padding:12px 16px;border-color:#20303f;background:#0a141e}
.cash:after{font-size:30px}.cash strong{font-size:27px}
.stats{gap:8px}.stat{min-height:55px;display:grid;place-content:center;border-color:#1b2b38;background:#0b1721}
.stat span{font-size:8px}.stat strong{font-size:12px}
.game-scene{height:540px;min-height:540px;margin-top:10px;border-radius:22px;border:1px solid #314354;
background:
linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.12)),
url('food-stall-pro.png') center 19%/cover no-repeat;
box-shadow:0 24px 70px rgba(0,0,0,.45);overflow:hidden}
.game-scene:before,.game-scene:after,.scene-shop,.scene-counter,.scene-road,.scene-skyline,.scene-cloud{display:none!important}
.scene-label{left:18px;top:18px;padding:9px 13px;background:rgba(5,12,18,.88);border:1px solid rgba(255,255,255,.1);font-size:10px}
.scene-stock{top:auto;bottom:18px;right:18px;padding:10px 13px;background:rgba(5,12,18,.92);border:1px solid rgba(255,255,255,.12)}
.scene-status{left:18px;bottom:18px;max-width:62%;padding:10px 13px;background:rgba(5,12,18,.92);border:1px solid rgba(255,255,255,.12)}
.customer-layer{z-index:8!important}
.walker{font-size:0;bottom:34px;width:46px;height:82px;border-radius:22px 22px 12px 12px;background:linear-gradient(#d9a173 0 32%,#222f3d 32% 70%,#273a51 70%);box-shadow:0 10px 18px #0007}
.walker:before{content:"";position:absolute;left:11px;top:-17px;width:24px;height:24px;border-radius:50%;background:#8d573d}
.walker:nth-child(2n){background:linear-gradient(#c98763 0 32%,#a51d2d 32% 70%,#315879 70%)}
.walker:nth-child(3n){background:linear-gradient(#9d6247 0 32%,#e3c02d 32% 70%,#294158 70%)}
.play-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:12px}
.card{border-color:#1d2e3c;background:linear-gradient(180deg,#0b1721,#08121b);box-shadow:0 14px 35px #0003}
.biztop{padding-bottom:6px}.biztop .ico{display:none}#businessName{font-size:24px}
.actions{grid-template-columns:repeat(3,1fr)}
.actions .btn{min-height:76px;border-radius:14px}
#stockBtn{background:#0e3020;border-color:#1d6d46}
#openBtn{background:linear-gradient(135deg,#1cc767,#0c8d46)}
#upgradeBtn{background:linear-gradient(135deg,#ffd55a,#f0a500)}
.progress-card{border-color:#263a4a;background:linear-gradient(180deg,#0d1923,#09131c)}
.progress-head strong{font-size:17px}
.stage-goals{grid-template-columns:repeat(3,1fr)}
.tipbox{border-color:#223645;background:#0b1721}
.nav{max-width:1180px;height:70px;border-top:1px solid #243443;background:rgba(5,12,18,.97)}
.nav button{font-size:11px;font-weight:800}
.modalbox{border-color:#30485a;background:linear-gradient(180deg,#112432,#09141d);border-radius:22px}
.money-pop{font-size:28px;text-shadow:0 3px 10px #000}
#contentPanel{min-height:100px}
@media(min-width:851px){
  .card:has(.biztop){display:grid;grid-template-columns:1fr;align-content:start}
}
@media(max-width:850px){
 .wrap{padding:7px 7px 92px}.top{height:54px}
 .game-scene{height:390px;min-height:390px;border-radius:16px;background-position:center 15%}
 .play-grid{display:block}
 .cash{margin-top:7px}.cash strong{font-size:25px}
 .stats{grid-template-columns:repeat(4,1fr)}
 .scene-status{max-width:65%;font-size:8px}.scene-stock{font-size:8px}
}
@media(max-width:520px){
 .game-scene{height:330px;min-height:330px;background-position:center 15%}
 .brand{font-size:15px}.top{padding:8px 10px}
 .cash:after{display:none}.cash{display:block}
 .stats{grid-template-columns:repeat(4,1fr);gap:4px}.stat{min-height:48px;padding:5px 2px}
 .stat span{font-size:6px}.stat strong{font-size:9px}
 .actions{grid-template-columns:repeat(3,1fr);gap:5px}.actions .btn{min-height:66px;font-size:8px}
 .stage-goals{grid-template-columns:1fr}
 .scene-label{left:9px;top:9px}.scene-status{left:9px;bottom:9px}.scene-stock{right:9px;bottom:9px}
}
