*{box-sizing:border-box}body{margin:0;background:#092d31;color:#fff;font-family:system-ui,-apple-system,sans-serif}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fff;outline-offset:4px}button:disabled{opacity:.55;cursor:default}#game{isolation:isolate;position:relative;height:min(880px,calc(100svh - 34px));min-height:640px;overflow:hidden;background:#24484b}#backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:-3;transition:transform 1.3s ease,filter .5s;transform:scale(1.025)}#game.explore #backdrop{object-fit:fill;transform:scale(1)}.shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#092f3266,transparent 25%,transparent 47%,#04282de8 100%)}header{position:absolute;top:0;left:0;right:0;padding:22px 3%;display:flex;justify-content:space-between;gap:12px;background:linear-gradient(#082f3280,transparent)}.brand{font-size:11px;letter-spacing:2.5px;font-weight:800;text-shadow:0 1px 10px #000}.brand span{display:block;font-size:15px;letter-spacing:.8px;margin-top:5px}.tools{display:flex;gap:8px}.tools button{border:1px solid #ffffff70;background:#0c3d45b8;color:#fff;border-radius:30px;padding:10px 15px;min-height:44px;backdrop-filter:blur(12px)}#dialogue{position:absolute;bottom:60px;left:4%;max-width:670px;width:65%;padding:24px 28px;background:#fcfff9ee;backdrop-filter:blur(20px);border-radius:24px;color:#113e44;box-shadow:0 12px 42px #052b3a30;animation:arrive .5s ease}.kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#426d70;margin-bottom:10px}h1{font:italic 700 clamp(34px,4.5vw,62px)/1.02 Georgia,serif;letter-spacing:-1px;margin:5px 0 16px}h2{font:700 28px/1.15 Georgia,serif;margin:6px 0 14px}p{line-height:1.5;margin:8px 0 16px}.speaker{font-weight:800;color:#066e75;font-size:15px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions button,.action{border:0;border-radius:28px;padding:13px 23px;background:#ffdf43;color:#103c43;font-weight:800;min-height:48px}.actions .secondary,.secondary{background:#e1d2f5}.actions .quiet{background:transparent;border:1px solid #b6d1d1}.watermark{position:absolute;bottom:16px;right:3%;font:italic 20px Georgia,serif;color:#ffe58a;text-shadow:0 2px 4px #102b30;background:#0b343abf;padding:9px 15px;border-radius:12px;pointer-events:none;z-index:6}.objective{position:absolute;top:105px;left:3%;max-width:310px;padding:15px 20px;border-radius:18px;background:#073b42e8;backdrop-filter:blur(15px)}.objective span{font-size:14px;display:block}.objective b{font-size:12px;color:#fbe17b;display:block;margin-top:5px}#pips{display:flex;gap:6px;margin-top:10px}#pips i{width:24px;height:4px;border-radius:4px;background:#ffffff40}#pips i.on{background:#ffe044}.hotspot{position:absolute;transform:translate(-50%,-50%);border:2px solid #ffe36e;background:#103d47d9;box-shadow:0 0 0 7px #ffe04420,0 4px 20px #0004;border-radius:30px;color:white;padding:10px 16px;font-weight:700;min-height:46px;animation:beacon 2.5s infinite}.hotspot.done{border-color:#a5e2cc;background:#135a52}.hotspot:hover{background:#2b6670}.hotspot .plus{font-size:18px;color:#ffe16e;margin-right:7px}#toast{position:absolute;top:28%;left:50%;transform:translateX(-50%);background:#fff5c9;color:#183f44;padding:15px 24px;border-radius:18px;box-shadow:0 8px 35px #0003;font-weight:700;z-index:5;max-width:90%;animation:arrive .3s ease}#inventory{position:absolute;right:3%;top:105px;padding:16px;background:#073b42e8;border-radius:18px;max-width:220px}#inventory h3{margin:0 0 10px;font-size:12px;letter-spacing:1.5px}#inventory div{font-size:13px;padding:8px 0;border-top:1px solid #ffffff30}#modal{position:absolute;inset:0;z-index:10;background:#042c37c9;backdrop-filter:blur(9px);display:grid;place-items:center;padding:24px;overflow:auto}#modal[hidden]{display:none}.sheet{width:min(620px,100%);border-radius:25px;background:#fbfff9;color:#113e44;padding:30px;box-shadow:0 15px 70px #001b2c6b;max-height:calc(100svh - 80px);overflow:auto}.sheet .close{float:right;background:transparent;border:1px solid #bed4d4;border-radius:50%;width:42px;height:42px;font-size:22px}.choices{display:grid;gap:10px}.choice{background:#e5f4ef;border:2px solid #c4e0d9;border-radius:15px;padding:16px;text-align:left;color:#143f44;min-height:55px;font-weight:700}.choice:hover{background:#fff0a0}.choice.selected{background:#fff0a0;border-color:#bea326}.lease{background:#f5efe1;border:1px solid #d3c8af;padding:18px;border-radius:10px;line-height:1.5}.lease button{color:#173f44;background:#fff9e9;border:1px solid #c8bfa9;padding:12px;margin:5px;border-radius:10px}.stamp{color:#116e60;font-weight:800;font-size:23px;border:3px solid #329782;border-radius:12px;padding:12px;display:inline-block;transform:rotate(-4deg);margin:10px 0}.preview-note{font-size:11px;text-align:center;color:#bdd5d3;padding:8px 12px;min-height:34px}.reward{position:absolute;width:8px;height:14px;background:#ffdc43;top:40%;left:50%;animation:confetti 1.8s forwards;pointer-events:none}.wallet{display:flex;align-items:center;justify-content:space-between;background:#e6f3ee;border-radius:16px;padding:18px;margin:16px 0}.wallet b{font-size:25px}.tile{padding:16px;border:2px solid #c8ded8;border-radius:15px;background:#e9f5f0;color:#163d44;font-size:20px;font-weight:800}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:15px 0}.calendar button{border:1px solid #c9d9d5;background:#f6faf7;border-radius:10px;min-height:44px;color:#234d4b}.calendar button.marked{background:#ffdf43;border-color:#b6a12b}.muted{font-size:13px;color:#476b6c}@keyframes beacon{50%{box-shadow:0 0 0 12px #ffe04406,0 4px 20px #0004}}@keyframes arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes confetti{to{translate:var(--x) var(--y);rotate:var(--r);opacity:0}}@media(min-width:1500px){#game{max-width:1600px;margin:auto}}@media(max-width:700px){#game{min-height:760px;height:calc(100svh - 45px)}header{padding:16px 4%}.brand{font-size:8px;letter-spacing:1px}.brand span{font-size:12px}.tools{gap:5px}.tools button{padding:8px 11px;font-size:12px}#dialogue{left:4%;bottom:65px;width:92%;padding:20px;max-height:310px;overflow:auto}#game.explore #backdrop{object-fit:cover;object-position:50% 25%}#backdrop{object-position:48% 35%}.objective{top:85px;left:4%;padding:12px;max-width:240px}#inventory{top:195px;right:4%;max-width:170px;padding:12px}#inventory div{font-size:11px}.watermark{font-size:16px;bottom:14px}.hotspot{padding:10px 12px;font-size:13px}.sheet{padding:22px}.actions button{padding:12px 17px}h1{font-size:40px}.calendar{gap:4px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:700px){#game.explore #backdrop{top:125px;height:320px;object-fit:fill;object-position:center}#game.explore #inventory{display:none}#game.explore .objective{top:75px;max-width:90%;padding:9px 14px;background:#073b42ed}#game.explore .objective span{font-size:12px}#game.explore .objective b{font-size:11px}#game.explore #pips{display:none}#game.explore #dialogue{bottom:62px;max-height:270px}.hotspot{white-space:nowrap;font-size:11px;padding:7px 9px;min-height:44px}#game.explore .shade{background:linear-gradient(#092f3240,transparent 40%,#04282d 62%)}}
@media(max-width:700px){#game.character-scene #backdrop{top:90px;height:340px;width:100%;object-fit:cover;object-position:50% 24%;transform:none}#game.character-scene #dialogue{bottom:62px;max-height:310px}#game.character-scene .objective{top:70px;z-index:2}#game.character-scene .shade{background:linear-gradient(#092f3240,transparent 22%,transparent 43%,#04282d 66%)}#game.character-scene #dialogue h1{font-size:36px}}
#game.character-scene #objective,#game.character-scene #hotspots,#game.character-scene #inventory{display:none!important}
