@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@700;900&display=swap');
:root { --ink:#402d24; --cream:#fff3d7; --green:#7dbb2d; }
.character-picker { position:absolute;left:2%;bottom:10%;z-index:4;background:#fff3d7;color:#402d24;border:3px solid #402d24;border-radius:12px;padding:9px;font-weight:bold;max-width:40%; }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; background:#243c29; font-family:'Baloo 2',system-ui,sans-serif; color:var(--ink); }
body { display:grid; place-items:center; padding:16px; min-height:100vh; }
.game-shell { position:relative; width:min(1400px,100vw); aspect-ratio:16/9; overflow:hidden; border:5px solid #402d24; border-radius:24px; box-shadow:0 20px 70px #08161599; background:#8dd7f5; }
#game { position:absolute; inset:0; width:100%; height:100%; display:block; }
.hud { position:absolute; z-index:2; filter:drop-shadow(0 3px 0 #fff8); }
.top-hud { top:2.5%; left:2%; right:2%; display:flex; align-items:flex-start; gap:14px; }
.logo { font:800 clamp(18px,2.5vw,40px)/.75 'Baloo 2'; color:#fff; -webkit-text-stroke:2px var(--ink); text-shadow:3px 4px 0 #c83e31; transform:rotate(-3deg); letter-spacing:-1px; }
.logo span { color:#78b32b; text-shadow:3px 4px 0 var(--ink); }
.score-card,.harvest-card,.region,.objectives,.leaderboard,.connection { background:#fff5d8eF; border:3px solid var(--ink); border-radius:16px; box-shadow:0 4px 0 #402d24aa; }
.score-card { display:flex; align-items:center; gap:6px; padding:7px 13px; min-width:130px; }
.star { color:#f4b72d; font-size:32px; -webkit-text-stroke:2px var(--ink); }
small { display:block; font:900 10px 'Nunito'; letter-spacing:1px; } strong { font:900 25px 'Nunito'; }
.harvest-card { margin:auto; width:min(420px,38%); display:flex; gap:10px; align-items:center; padding:8px 16px; }
.crate-icon { font-size:28px; }.bar { height:14px; background:#d7d1b9; border:2px solid var(--ink); border-radius:12px; overflow:hidden; width:100%; min-width:170px; }.bar i { display:block; height:100%; width:0%; background:#82c632; border-radius:10px; transition:width .3s; }
.region { padding:8px 15px; font:900 17px Nunito; }
.objectives { top:15%; left:2%; padding:12px 16px; width:180px; font:700 13px Nunito; }.objectives b,.leaderboard>b { font:900 12px Nunito; letter-spacing:.8px; }.objectives p { margin:8px 0; }.objectives em { color:#836b54; font-style:normal; font-size:11px; }
.leaderboard { top:15%; right:2%; padding:12px 14px; width:190px; font:700 13px Nunito; }.leaderboard div { display:flex; justify-content:space-between; margin-top:8px; }.leaderboard span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:125px; }
.connection { bottom:3%; left:2%; padding:8px 12px; display:flex; align-items:center; gap:8px; font:700 11px Nunito; }.connection b { margin-left:7px; color:#6f9c23; }.dot { width:10px; height:10px; background:#7fc63b; border-radius:50%; box-shadow:0 0 0 3px #7fc63b44; }
.harvest-btn { position:absolute; z-index:3; right:2%; bottom:3%; border:4px solid var(--ink); border-radius:20px; padding:12px 24px; min-width:190px; color:white; background:#87c52c; box-shadow:0 6px 0 #4a7622; font:900 clamp(17px,2vw,28px) Nunito; cursor:pointer; }.harvest-btn:active { transform:translateY(5px); box-shadow:0 1px 0 #4a7622; }
.hint { position:absolute; z-index:3; bottom:2%; left:50%; transform:translateX(-50%); background:#fff5d8dd; padding:6px 14px; border-radius:12px; font:700 11px Nunito; }
@media(max-width:800px){ body{padding:0}.game-shell{border-radius:0;border-width:0;width:100vw;height:100vh;aspect-ratio:auto}.objectives,.leaderboard{display:none}.harvest-card{width:auto}.hint{display:none}.top-hud{gap:5px}.score-card{min-width:auto;padding:4px}.region{padding:6px;font-size:12px}.harvest-btn{min-width:130px;padding:10px}.connection{bottom:2%} }
