*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;touch-action:none;font-family:system-ui,-apple-system,sans-serif;color:#fff;background:#a4d9eb}canvas{display:block}#hud{position:absolute;top:0;left:0;right:0;padding:18px 18px;pointer-events:none;text-shadow:0 2px 5px #193c50}.top{display:flex;justify-content:space-between;align-items:center}.top small{font-size:9px;letter-spacing:2px;font-weight:800}.top h1{font-size:16px;margin:3px 0 0;letter-spacing:.04em}.badge{background:#fff;color:#526277;border-radius:18px;padding:7px 12px;font-weight:900;text-shadow:none;font-size:14px;box-shadow:0 3px 12px #2343}.meters{margin-top:14px;width:150px}.meter{display:flex;gap:7px;align-items:center;font-size:11px;font-weight:900;margin:5px 0}.meter span{width:24px}.meter div{height:9px;flex:1;background:#223a52aa;border-radius:20px;border:1px solid #ffffffaa;overflow:hidden}.meter i{display:block;height:100%;width:100%;background:#ff8b8c;border-radius:20px;transition:width .2s}.mana i{background:#74dbf8}#objective{display:inline-block;margin-top:10px;background:#1c4050a8;border:1px solid #ffffff59;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:800}#message{margin:12px auto;text-align:center;font-size:17px;font-weight:900;color:#fff6a0}#stick{position:absolute;bottom:20px;left:0;width:46%;height:180px}.stickhint{position:absolute;left:46px;bottom:35px;width:76px;height:76px;border:2px solid #ffffff8c;border-radius:50%;background:#ffffff35;display:grid;place-items:center;font-size:12px;font-weight:bold;color:#fff9;pointer-events:none}#actions{position:absolute;right:16px;bottom:34px;display:flex;align-items:end;gap:9px}button{font-family:inherit;cursor:pointer}#actions button{border:2px solid #ffffffb5;color:white;background:linear-gradient(150deg,#ffc577,#eb7c78);width:70px;height:70px;border-radius:50%;font-size:28px;font-weight:900;box-shadow:0 5px 0 #9d535777,0 5px 20px #25465766;text-shadow:0 2px 3px #854d5377;touch-action:manipulation}#actions button:active{transform:scale(.93)}#actions button small{display:block;font-size:10px;margin-top:-3px}#actions #burst{width:60px;height:60px;background:linear-gradient(150deg,#aeefff,#6a9ee7);font-size:24px}#actions #guard{width:53px;height:53px;background:linear-gradient(150deg,#d9c8ff,#9675d1);font-size:22px}#help{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font-size:10px;text-shadow:0 1px 3px #123;white-space:nowrap;pointer-events:none}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(160deg,#173a4c77,#0b243aba);padding:24px}.card{width:min(100%,410px);padding:32px 26px;background:#fffdf5;color:#324b58;border-radius:26px;box-shadow:0 18px 70px #15333c66;text-align:center;border:4px solid #fff}.eyebrow{color:#d99555;font-size:10px;letter-spacing:2px;font-weight:900}.card h2{font-size:30px;line-height:1.3;margin:13px 0;color:#315971}.card p{font-size:14px;line-height:1.9;font-weight:600}.instructions{background:#f1f7ef;border-radius:14px;padding:13px;text-align:left;display:grid;gap:8px;font-size:12px;font-weight:700;color:#66806e}.card button{margin-top:20px;border:0;border-radius:30px;background:#e7946d;color:white;padding:15px 30px;font-weight:900;font-size:15px;box-shadow:0 5px 0 #c57457}.card button b{margin-left:12px}@media(max-width:500px){#help{display:none}#actions{bottom:34px}.top h1{font-size:14px}}

#travel{position:absolute;right:18px;top:120px;border:1px solid #ffffffaa;border-radius:20px;background:#315c67d9;color:white;padding:8px 13px;font-weight:800;font-size:12px}#interact{position:absolute;right:30px;bottom:38px;width:76px;height:76px;border:2px solid white;border-radius:50%;background:linear-gradient(150deg,#ffcc9f,#e580a2);color:white;font-size:29px;font-weight:900;box-shadow:0 5px 0 #a85a7888;touch-action:manipulation}#interact small{display:block;font-size:10px;margin-top:-4px}[hidden]{display:none!important}.card .secondary{margin:12px 4px 0;background:#80a7a4;box-shadow:0 5px 0 #648a86}.card .detail{font-size:12px;background:#f1f7ef;padding:10px;border-radius:12px;line-height:1.7}

#travel{top:164px}.petList{display:grid;gap:8px}.card .petChoice{margin:0;padding:10px 14px;background:#8dbdaf;box-shadow:0 3px 0 #6b9b8d}.lockedPet{font-size:12px;color:#83928c}.card:has(.petList){padding-top:22px;padding-bottom:24px}.card:has(.petList) h2{font-size:24px}.card:has(.petList) p{margin:8px}

#coop{position:absolute;right:18px;top:205px;border:1px solid #ffffffaa;border-radius:20px;background:#806e9fd9;color:white;padding:8px 13px;font-weight:800;font-size:12px}.coopCard{max-height:90vh;overflow:auto;touch-action:pan-y;padding:20px}.coopCard h2{font-size:24px}.coopCard p{font-size:12px;line-height:1.6;margin:8px}.coopCard button{padding:11px 19px;margin:7px 3px}.coopCard textarea{font:12px monospace;width:100%;height:80px;border:1px solid #a5bbb8;border-radius:10px;padding:8px;touch-action:auto;resize:none}.coopCard #coopStatus{color:#b25f58;min-height:18px;overflow-wrap:anywhere}
