@font-face{font-family:PaperHand;src:url("fonts/PaperHand-Regular.woff2?v=20261103-voices12") format("woff2");font-weight:100 499;font-style:normal;font-display:swap}
@font-face{font-family:PaperHand;src:url("fonts/PaperHand-Medium.woff2?v=20261103-voices12") format("woff2");font-weight:500 900;font-style:normal;font-display:swap}
:root{--ink:#302b38;--paper:#fff3d9;--purple:#9785c4;--orange:#f2ab54;--blue:#699ed6;--pink:#da8caa}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#e9e1cd;font-family:PaperHand,serif;color:var(--ink);user-select:none}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #a78ade;outline-offset:4px}button:hover{filter:brightness(1.05)}.hidden{display:none!important}#app{position:relative;width:100%;height:100dvh;overflow:hidden}#game{display:block;width:100%;height:100%;outline:0;touch-action:none}#paper-grain{position:absolute;inset:0;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.45' filter='url(%23n)'/%3E%3C/svg%3E");mix-blend-mode:multiply;z-index:2}#vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 110px #49425e24;z-index:3}#hud{position:absolute;inset:0;pointer-events:none;z-index:5}#xpbar{height:12px;position:absolute;top:4px;left:5px;right:5px;border:2px solid #3a3344;background:#ece7d5;box-shadow:0 2px 0 #fff9;transform:rotate(-.08deg)}#xpbar i{display:block;width:0%;height:100%;background:repeating-linear-gradient(90deg,#89b3eb 0,#89b3eb 8px,#83a7dd 8px,#83a7dd 10px);transition:width .18s}.top-left{position:absolute;top:28px;left:20px;display:flex;align-items:center;gap:12px}.level-stamp{background:#fff7e5;border:2px solid #453b46;box-shadow:2px 2px #61516d22;border-radius:47% 49% 43% 45%;padding:6px 14px;transform:rotate(-6deg);font-size:11px}.level-stamp b{font-size:25px;margin-left:4px}.wave-info b{display:block;font-size:14px;letter-spacing:2px;text-shadow:1px 1px #fff7e6}.wave-info span{display:block;font-size:10px;color:#635c6b;margin-top:4px;background:#f6eed2a3;padding:2px 4px}.timer-box{position:absolute;left:50%;top:24px;transform:translateX(-50%) rotate(1deg);background:#fff4da;border:3px solid #302b38;box-shadow:3px 3px 0 #eee1bc,5px 5px 0 #342e3b;padding:1px 14px 3px;white-space:nowrap}.timer-box strong{font-size:37px;font-weight:700;letter-spacing:1px;color:#f5cc69;-webkit-text-stroke:1.3px #362c3e;text-shadow:2px 2px #3d3046}.timer-box span{font-size:10px;color:#746c79;margin-left:6px}.top-right{position:absolute;right:18px;top:28px;display:flex;align-items:center;gap:18px}.kill-count{display:flex;align-items:center;gap:8px}.kill-count span{font-size:24px}.kill-count b{font-size:27px;color:#fff7e5;-webkit-text-stroke:.8px #332c39;text-shadow:2px 2px #433744}.mini-tools{display:flex;gap:6px;pointer-events:auto}.mini-tools button{width:30px;height:30px;background:#fcf2dfdb;border:1.5px solid #64586b;border-radius:3px;box-shadow:2px 2px #52425d24;font-size:19px;padding:0}#boss-hud{position:absolute;z-index:5;top:102px;left:50%;transform:translateX(-50%);width:min(460px,65%);text-align:center}#boss-hud strong{font-size:12px;letter-spacing:5px;color:#fff1da;text-shadow:1px 1px #4a3656,-1px -1px #4a3656}#boss-hud>div{height:9px;border:2px solid #49344e;background:#3f3446;margin-top:5px}#boss-hud i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#bb6088,#e794b1)}#combo{position:absolute;right:30px;top:110px;text-align:right;opacity:0;transform:rotate(6deg);transition:opacity .2s;z-index:4;pointer-events:none}#combo b{display:block;font-size:37px;line-height:1;color:#ffe08b;-webkit-text-stroke:1px #5a3c41;text-shadow:2px 2px #5a3c41}#combo span{font-size:10px;letter-spacing:5px;background:#fff4d4b0;padding:1px 4px}#banner{position:absolute;left:50%;top:24%;transform:translate(-50%,10px) rotate(-3deg);color:#fff2bc;font-weight:900;font-size:31px;white-space:nowrap;-webkit-text-stroke:1px #4c3548;text-shadow:3px 3px #4c3548;pointer-events:none;opacity:0;z-index:7;transition:transform .15s,opacity .15s}#banner.show{opacity:1;transform:translate(-50%,0) rotate(-3deg)}#tip{position:absolute;left:50%;bottom:120px;transform:translateX(-50%);font-size:11px;white-space:nowrap;background:#fff4dbd9;border:1px solid #9e8da3;padding:7px 12px;z-index:5;transition:opacity 1s;pointer-events:none}#bottom-hud{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;gap:9px;max-width:calc(100% - 28px);z-index:5}.player-card{display:flex;align-items:center;border:2px solid #493b45;border-left:7px solid var(--orange);background:#fdf3dc;box-shadow:3px 3px 0 #4a374437;padding:6px 10px 6px 4px;min-width:200px;position:relative;transform:rotate(-1deg)}.player-tag{position:absolute;top:-20px;left:-7px;font-weight:900;font-size:13px;color:#eea24a;text-shadow:1px 1px #3c2a38,-1px -1px #3c2a38}.player-card>img{width:51px;height:62px;object-fit:contain}.player-info{flex:1}.player-info strong{font-size:12px;letter-spacing:1px;white-space:nowrap}.healthbar{height:16px;background:#514550;border:2px solid #302b38;width:122px;margin-top:7px;position:relative}.healthbar i{display:block;height:100%;width:100%;background:linear-gradient(#eaa279,#d27a69);transition:width .2s}.healthbar span{position:absolute;inset:0;text-align:center;font:9px PaperHand,serif;line-height:12px;color:#fff8df;text-shadow:1px 1px #4c3340}#weapons{display:flex;gap:5px;align-items:center;background:#fff2d8ed;border:2px solid #514255;box-shadow:2px 3px #4a374437;padding:7px 9px;transform:rotate(.3deg)}.weapon-slot{width:46px;height:58px;border:1px dashed #8f7d94;position:relative;background:#e8dfd180}.weapon-slot.active{border:1px solid #574259;background:#f8eed9}.weapon-slot img{width:40px;height:40px;object-fit:contain;display:block;margin:2px auto 0}.weapon-slot .name{display:block;font-size:8px;white-space:nowrap;text-align:center;margin-top:-1px}.weapon-slot b{position:absolute;top:-5px;right:-3px;font-size:10px;background:#ddca8d;border:1px solid #67506d;padding:0 3px;line-height:13px}.weapon-slot.empty:after{content:'+';position:absolute;inset:8px;text-align:center;color:#b3a9a1;font-size:25px}.ability-panel{display:flex;gap:6px;align-items:center;background:#fcf1d8ed;border:2px solid #4f3e4e;padding:5px;box-shadow:2px 3px #4a374437;transform:rotate(-.7deg)}.ability{background:#e8d7b8;border:2px solid #60526b;width:47px;height:58px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center}.ability>span{font-size:26px;line-height:1;z-index:1;text-shadow:1px 1px #fff6}.ability b{font-size:8px;z-index:1;margin-top:7px}.ability i{position:absolute;bottom:0;left:0;right:0;height:100%;background:#c9b7df70;transition:height .12s;pointer-events:none}.ability.storm{background:#ddd3e9}.ability.ready{animation:pulse-border 1.5s infinite}@keyframes pulse-border{50%{box-shadow:0 0 12px #f7dd77;border-color:#a17b34}}.overlay{position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;background:#31273d32;padding:16px}.start-paper{padding:27px 39px 24px;background:#fff3ddea;border:2px solid #4b3b4e;border-radius:3px 1px 5px 2px;box-shadow:7px 8px 0 #fff0d9,9px 10px 0 #5c4d5f;text-align:center;position:relative;max-width:calc(100vw - 48px);transform:rotate(-1deg)}.taped{position:absolute;top:-14px;left:50%;transform:translateX(-50%) rotate(2deg);white-space:nowrap;background:#d2b8e9db;border-left:2px dashed #b194c0;border-right:2px dashed #b194c0;padding:7px 20px;font-size:10px;letter-spacing:3px}h1{font:900 52px/.95 PaperHand,serif;letter-spacing:2px;margin:15px 0 7px}h1 span{display:block;color:#ead39b;-webkit-text-stroke:2px #43334b;text-shadow:3px 3px #5a4362}h1 span:first-child{color:#bcacd9;transform:rotate(-2deg)}h1 span:last-child{font-size:39px;transform:rotate(1deg)}.start-paper h2{font-size:17px;letter-spacing:8px;margin:14px 0 12px}.start-paper p{font-size:12px;line-height:1.9;color:#716278;margin:12px 0 20px}.primary{display:flex;justify-content:space-between;align-items:center;gap:30px;width:100%;padding:13px 22px;font-size:16px;font-weight:900;letter-spacing:2px;background:#e5ba67;border:2px solid #4b3542;box-shadow:3px 3px 0 #6c4d573d;position:relative;transition:transform .12s}.primary:active{transform:translate(2px,2px);box-shadow:none}.primary>span{font-size:16px}.secondary{display:block;width:100%;background:#e5d9e8;border:1.5px solid #63536b;padding:10px;margin-top:12px;font-size:13px}.mode-switch{display:flex;margin:17px 0 9px;border:1px solid #c6b6b8;padding:2px;gap:2px}.mode-switch button{font-size:11px;flex:1;border:0;background:transparent;padding:7px 5px;color:#857489}.mode-switch button.selected{background:#d7c7e0;color:#4a3851;box-shadow:1px 1px #68526d36}.start-paper>small{font-size:10px;color:#8c7b8b;display:block}.menu-keys{display:flex;gap:15px;justify-content:center;margin-top:20px;font-size:9px;color:#756477}.menu-keys span{display:flex;gap:3px;align-items:center}kbd{font:9px PaperHand,serif;border:1px solid #a99a9f;border-bottom-width:2px;padding:2px 4px;background:#f9eedb}.mobile-help{display:none;font-size:10px;color:#766479;margin-top:15px}.upgrade-paper{width:min(780px,96vw);padding:22px 24px;background:#fff1d3;border:3px solid #423444;box-shadow:5px 6px #8e77944d}.up-top{display:flex;justify-content:space-between;align-items:center}.up-top>span{background:#edb161;padding:6px 9px;border:2px solid #473445;font-size:16px;font-weight:900}.up-top h2{font-size:35px;margin:0;color:#d6b971;-webkit-text-stroke:1px #4b3449;text-shadow:2px 2px #674760;letter-spacing:2px;transform:rotate(-2deg)}.up-top>b{font-size:16px;color:#76537e}.up-sub{text-align:center;font-size:12px;color:#806c7d;margin:12px 0 21px}#choices{display:flex;gap:13px}.choice{flex:1;position:relative;min-width:0;border:2px solid #776276;border-top:5px solid var(--card-color,#a9a0bd);background:#fff7e3;text-align:center;padding:17px 12px;box-shadow:3px 3px #6d4f6d22;transition:transform .12s}.choice:nth-child(2){transform:rotate(1deg)}.choice:hover{transform:translateY(-7px) rotate(-1deg);background:#fffbee;box-shadow:4px 6px #6d4f6d33}.choice>small{font-size:9px;display:block;letter-spacing:2px;color:#927a92}.choice img{width:75px;height:75px;object-fit:contain;margin:13px auto 7px;display:block}.choice strong{font-size:16px;display:block}.choice .level{font:12px PaperHand,serif;color:#a27e58;margin:6px 0 10px;display:block}.choice p{font-size:11px;line-height:1.8;text-align:left;color:#756477;min-height:48px;margin:0}.choice .key{position:absolute;right:7px;top:4px;font:12px PaperHand,serif;color:#a598a2}.upgrade-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.upgrade-actions>button{background:#ebdec9;border:1px solid #806b80;padding:7px 14px;font-size:11px}.upgrade-actions>small{font-size:10px;color:#8e7a8b}.dialog-paper{width:min(400px,92vw);padding:30px;background:#fff2d9;border:2px solid #514153;box-shadow:5px 6px #52415e44;text-align:center;transform:rotate(-.5deg)}.dialog-paper h2{font-size:31px;letter-spacing:2px;color:#856996;margin:0 0 15px}.dialog-paper>p{font-size:12px;color:#85748a;line-height:1.9;margin:0 0 24px}.text-button{background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:#8b7591;font-size:11px;margin:20px auto 0}.settings label{display:flex;flex-wrap:wrap;align-items:center;font-size:12px;text-align:left;margin:22px 0;gap:12px}.settings input{width:58%;accent-color:#a385bd;margin-left:auto}.settings output{font-size:10px;width:30px}.settings details{text-align:left;font-size:10px;margin-top:21px;color:#91808d;line-height:1.7}.settings details p{font-size:9px;user-select:text}.settings a{color:#8a659f}#audio-status{display:block;font-size:10px;color:#9d7e6b;margin-top:8px}.result-stats{display:flex;justify-content:space-around;margin:25px 0;padding:18px 0;border-top:1px solid #d7c6c7;border-bottom:1px solid #d7c6c7}.result-stats b{display:block;font-size:25px}.result-stats span{display:block;font-size:10px;color:#8e778e;margin-top:4px}#joystick{display:none}#audio-unlock{position:absolute;bottom:110px;right:15px;background:#fff3d8;border:1px solid #8d748e;z-index:8;padding:7px;font-size:10px;cursor:pointer}
@media(max-width:850px){.wave-info{display:none}.top-left{left:13px}.top-right{gap:10px;right:12px}.mini-tools{gap:4px}.player-card{min-width:160px;padding-right:7px}.player-card>img{width:40px}.healthbar{width:93px}#weapons{padding:6px;gap:3px}.weapon-slot{width:36px;height:52px}.weapon-slot img{width:32px;height:32px}.weapon-slot .name{font-size:7px}.ability{width:39px}#bottom-hud{gap:6px}.timer-box strong{font-size:30px}.timer-box{padding:2px 10px}#tip{font-size:10px}.kill-count b{font-size:22px}.kill-count span{font-size:20px}}
@media(max-width:600px){.top-left{top:24px;left:10px}.level-stamp{padding:4px 8px;font-size:9px}.level-stamp b{font-size:20px}.timer-box{top:24px}.timer-box strong{font-size:27px}.timer-box span{display:none}.top-right{top:26px;gap:8px}.mini-tools button{width:25px;height:25px;font-size:15px}.mini-tools button:last-child{display:none}.kill-count b{font-size:19px}.kill-count span{font-size:17px}.kill-count{gap:4px}#bottom-hud{bottom:8px;left:8px;right:8px;transform:none;max-width:none;gap:5px;flex-wrap:wrap;justify-content:space-between}.player-card{min-width:156px;max-width:185px;height:60px;order:1;flex:1}.player-card>img{height:52px}.player-info strong{font-size:11px}.healthbar{width:105px;height:14px;margin-top:5px}.player-tag{top:-17px;font-size:11px}#weapons{order:0;width:100%;justify-content:center;padding:4px;height:48px;gap:7px;background:#fff2d8bb;border-width:1px;box-shadow:none}.weapon-slot{height:36px;width:38px}.weapon-slot img{height:30px;width:30px;margin:2px auto}.weapon-slot .name{display:none}.ability-panel{order:2;padding:3px;box-shadow:2px 2px #4a374437}.ability{height:50px;width:46px}.ability>span{font-size:25px}.ability b{font-size:8px}.ability i{transition:none}#tip{bottom:144px;max-width:90%;font-size:9px;text-align:center;white-space:normal;padding:6px 10px}#combo{top:80px;right:14px}#combo b{font-size:29px}#banner{font-size:24px;top:21%}#boss-hud{top:85px;width:70%}.start-paper{padding:27px 25px 23px}h1{font-size:45px}h1 span:last-child{font-size:33px}.menu-keys{font-size:8px;gap:10px}.start-paper h2{font-size:15px}.upgrade-paper{padding:16px 14px}.up-top h2{font-size:28px}.up-top>b{font-size:12px}.up-top>span{font-size:13px;padding:3px 6px}#choices{flex-direction:column;gap:10px}.choice{min-height:110px;padding:12px 14px 12px 90px;text-align:left}.choice img{position:absolute;left:12px;top:20px;width:65px;height:65px;margin:0}.choice>small{font-size:8px}.choice strong{font-size:15px;margin-top:5px}.choice p{font-size:10px;min-height:0;line-height:1.6}.choice .level{font-size:10px;margin:3px 0 6px}.up-sub{font-size:11px;margin:10px 0 16px}.upgrade-actions>small{font-size:8px}.dialog-paper{padding:25px}.overlay{padding:12px}.settings label{margin:18px 0}}
@media(pointer:coarse){.menu-keys{display:none}.mobile-help{display:block}.ability-panel{pointer-events:auto}.ability{touch-action:none}}
@media(max-height:540px){.start-paper{padding:18px 30px}.start-paper p{margin:9px 0;font-size:10px}h1{font-size:35px}h1 span:last-child{font-size:28px}.start-paper h2{font-size:13px;margin:8px}.mode-switch{margin:10px 0 5px}.menu-keys{margin-top:10px}.taped{font-size:8px;padding:5px 13px}.primary{padding:9px 17px}.upgrade-paper{padding:15px}.choice img{height:50px;margin:5px auto}.choice p{font-size:10px}.choice{padding:10px}.up-sub{margin:7px 0 12px}.upgrade-actions{margin-top:12px}.dialog-paper{padding:20px}.settings label{margin:10px 0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Field journal and expanded inventory */
#exploration{position:absolute;top:92px;left:24px;z-index:5;pointer-events:none;display:flex;flex-direction:column;gap:5px;font-size:10px;color:#766276}#event-compass{font-size:12px;background:#fff3d6d9;border:1px dashed #a58a9d;padding:7px 10px;max-width:250px}#fusion-hint{color:#9a5d8f;background:#fff0d8;padding:5px;border:1px solid #bca1be}#weapons{gap:4px}.weapon-slot{width:43px}.weapon-slot img{width:36px}.weapon-slot .name{font-size:7px}.player-card{min-width:180px}.healthbar{width:108px}.edition-links{display:flex;gap:12px;justify-content:center;margin-top:15px}.edition-links a{font-size:9px;color:#796484;text-decoration:none;border-bottom:1px dashed #a68d9e;padding-bottom:3px}.edition-links a.active{font-weight:900;color:#aa754c}.start-paper h2{letter-spacing:5px}.codex-paper{width:min(890px,95vw);max-height:90dvh;overflow:auto;background:#fcf0d6;border:2px solid #635167;box-shadow:8px 10px #503a5944;padding:26px 30px}.codex-head{display:flex;align-items:center;justify-content:space-between}.codex-head small{font-size:9px;letter-spacing:3px;color:#978295}.codex-head h2{font-size:25px;color:#786087;margin:8px 0}.codex-head button{background:#e7d7e3;border:1px solid #826a84;font-size:26px;width:36px;height:36px}.codex-paper>p{font-size:12px;color:#897385;line-height:1.9}.codex-paper h3{font-size:16px;color:#806b81}.recipe{padding:12px;background:#fff8e8;border:1px dashed #a98caa;text-align:center}.recipe>div{display:flex;justify-content:center;align-items:center;gap:7px}.recipe img{height:43px;width:43px;object-fit:contain}.recipe strong{font-size:13px;display:block;margin-top:6px}.recipe p{font-size:10px;color:#90798b}.recipe small{font-size:10px;color:#a67f53}#recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#charms-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}#charms-grid>span{font-size:11px;padding:7px;border:1px solid #d7c4c4}#charms-grid img{width:25px;height:28px;object-fit:contain;vertical-align:middle;margin-right:4px}#charms-grid small{display:block;font-size:9px;color:#8f7c8a;margin-top:5px}.journal-foot{border-top:1px dashed #bda6b5;padding-top:12px}.choice em{display:block;font-style:normal;font-size:9px;color:#ad865e;margin-top:9px;line-height:1.5}.fusion-card{background:#f4e5f0;border-color:#b785b4;box-shadow:4px 4px #c49cb7}.fusion-card>small{color:#a86d9f}#menu-codex{margin-top:13px}.overlay{overflow:auto}.start-paper{margin:auto}.timer-box{pointer-events:none}
@media(max-width:1000px){.player-card{min-width:155px}.weapon-slot{width:36px}.weapon-slot img{width:30px}.healthbar{width:90px}.weapon-slot .name{font-size:6px}.ability{width:38px}}@media(max-width:650px){#recipe-grid{grid-template-columns:repeat(2,1fr)}#charms-grid{grid-template-columns:repeat(2,1fr)}.codex-paper{padding:18px 15px}.codex-head h2{font-size:19px}#exploration{left:12px;top:82px;font-size:8px}#event-compass{font-size:9px;max-width:170px;padding:4px}#weapons{gap:5px}.weapon-slot{width:34px}.weapon-slot img{width:28px}.mini-tools{gap:3px}.top-right{gap:7px}#boss-hud{top:142px}#banner{font-size:20px;max-width:95%;white-space:normal;text-align:center}.timer-box strong{font-size:24px}.kill-count{display:none}.choice em{font-size:8px;margin-top:3px}}@media(max-height:650px){.start-paper{padding:18px 28px}.start-paper h1{font-size:40px}.start-paper h1 span:last-child{font-size:30px}.start-paper p{margin:8px 0 12px}.menu-keys{margin-top:12px}.edition-links{margin-top:10px}}
/* Edition 02 — cut paper, pencil contours, taped journal and hand-lettered typography. */
html[data-edition=paper]{--paper:#fcf0db;--ink:#51404e}html[data-edition=paper] body{font-family:PaperHand,serif;background:#f1e3ce}html[data-edition=paper] #paper-grain{opacity:.21}html[data-edition=paper] #vignette{box-shadow:inset 0 0 110px #a27b6d26}html[data-edition=paper] .start-paper,html[data-edition=paper] .dialog-paper,html[data-edition=paper] .upgrade-paper,html[data-edition=paper] .codex-paper{background-color:#fcf0da;background-image:repeating-linear-gradient(1deg,transparent 0,transparent 26px,#bf9a8910 27px,transparent 28px);border:1.5px solid #796173;border-radius:3px 14px 8px 4px;box-shadow:5px 7px 0 #e1cdb6,7px 9px 0 #a68c97,12px 15px 25px #5a37532b}html[data-edition=paper] .start-paper:after{content:'✦';font:65px PaperHand,serif;color:#d6b062;position:absolute;right:-29px;top:59px;transform:rotate(13deg);text-shadow:2px 2px #fff7e5,-1px -1px #8b745a;pointer-events:none}html[data-edition=paper] .start-paper:before{content:'a little prince, a little universe';position:absolute;left:50%;bottom:-16px;transform:translateX(-50%) rotate(2deg);font:italic 12px PaperHand,serif;color:#947b8d;background:#eee1cc;padding:5px 18px;white-space:nowrap}html[data-edition=paper] h1{font-family:PaperHand,serif;letter-spacing:1px;font-weight:700}html[data-edition=paper] h1 span{-webkit-text-stroke:1px #725571;text-shadow:2px 2px #fff9eb,4px 4px #ad8e9f}html[data-edition=paper] h1 span:first-child{color:#bc9fc7}html[data-edition=paper] h1 span:last-child{color:#d9b576}html[data-edition=paper] .taped{background:#ddc3d3db;border-color:#b394ac;transform:translateX(-50%) rotate(-3deg)}html[data-edition=paper] .choice{border:1.5px solid #94788e;border-top:5px solid var(--card-color);border-radius:3px 8px 5px 2px;box-shadow:4px 5px 0 #ccb3bd5c;background:#fff7e7}html[data-edition=paper] .choice:first-child{transform:rotate(-1.2deg)}html[data-edition=paper] .choice:last-child{transform:rotate(1.3deg)}html[data-edition=paper] .choice:hover{transform:translateY(-6px) rotate(0)}html[data-edition=paper] .choice strong{font-size:19px}html[data-edition=paper] .choice p{font-size:13px}html[data-edition=paper] .up-top h2{font-family:PaperHand,serif;font-size:32px;color:#d9ac6f;-webkit-text-stroke:.7px #7b596a;text-shadow:2px 2px #fff8df}html[data-edition=paper] .primary{background:#dfbb7e;border:1.5px solid #876675;border-radius:3px 8px 3px 6px;box-shadow:3px 4px #c9afad}html[data-edition=paper] .timer-box{border:1.5px solid #7d6477;border-radius:4px 9px 2px 6px;box-shadow:3px 4px #cfb5b9,4px 5px #886a7b;background:#fff4df}html[data-edition=paper] .timer-box strong{color:#d9b776;-webkit-text-stroke:.8px #72566b;text-shadow:1px 2px #fff8e9}html[data-edition=paper] .player-card,html[data-edition=paper] #weapons,html[data-edition=paper] .ability-panel{border-color:#80667c;border-width:1.5px;border-radius:4px 8px 2px 6px;box-shadow:3px 4px #bea6b166;background:#fcf1de}html[data-edition=paper] .player-card{border-left:6px solid #e4c283}html[data-edition=paper] .weapon-slot.active{border:1px solid #aa899b;background:#f7e7d3;border-radius:2px 5px 2px 4px}html[data-edition=paper] .mini-tools button{border-radius:3px 7px 3px 6px;border-color:#9c7d91}html[data-edition=paper] .level-stamp{border:1.5px solid #8b6b81;box-shadow:2px 3px #c0a9ae}html[data-edition=paper] .recipe{transform:rotate(-.4deg);border-style:dashed;box-shadow:2px 3px #d5bbc646;border-radius:4px 7px 2px 4px}html[data-edition=paper] .recipe:nth-child(2n){transform:rotate(.6deg)}html[data-edition=paper] #event-compass{background:#f9ebd4ec;border-radius:3px 7px 2px 5px}html[data-edition=paper] .wave-info b{font-size:16px}html[data-edition=paper] #banner{font-family:PaperHand,serif;-webkit-text-stroke:.7px #825c71;color:#f8e8c0;text-shadow:2px 3px #a7859b}html[data-edition=paper] .codex-paper h2{font-size:29px}html[data-edition=paper] .journal-foot{font-size:13px}
@media(max-width:650px){html[data-edition=paper] .choice p{font-size:11px}html[data-edition=paper] .choice strong{font-size:16px}html[data-edition=paper] .codex-paper h2{font-size:22px}}
#recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recipe{min-width:0}.recipe img{flex-shrink:1;min-width:0}.codex-head{position:sticky;top:-26px;z-index:2;background:#fcf0de;padding:8px 0 12px}.codex-paper{overflow-x:hidden}.recipe p,.recipe small{overflow-wrap:anywhere}
@media(max-width:650px){#recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe{padding:10px 6px}.recipe>div{gap:3px;font-size:10px}.recipe img{height:34px;width:31px}.recipe p{font-size:9px}.recipe small{font-size:9px}.codex-head{top:-18px}.choice em{font-family:PaperHand,serif}}
#buff-strip{position:absolute;z-index:5;left:24px;top:166px;display:flex;gap:5px;pointer-events:none}#buff-strip>span{position:relative;width:36px;height:42px;background:#fff0d8e6;border:1px dashed #ac8ca3;border-radius:4px;display:block}#buff-strip img{width:29px;height:29px;object-fit:contain;margin:1px 3px}#buff-strip b{position:absolute;bottom:0;left:0;right:0;text-align:center;font:9px PaperHand,serif;color:#886a81}#item-toast{position:absolute;z-index:6;left:50%;bottom:118px;transform:translateX(-50%);pointer-events:none;display:flex;flex-direction:column;gap:5px;align-items:center}#item-toast span{background:#fff2dde8;border:1px solid #b194a7;padding:7px 14px;font-size:11px;color:#87687e;white-space:nowrap;box-shadow:2px 3px #9e859733}#item-toast strong{color:#a6794c;margin-right:8px}#items-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#items-grid article{display:flex;gap:8px;align-items:center;background:#fff7e6;border:1px dashed #b79cab;padding:9px}#items-grid img{width:38px;height:42px;object-fit:contain}#items-grid strong{font-size:12px;display:block}#items-grid small{display:block;font-size:10px;color:#947889;margin-top:5px;line-height:1.5}
@media(max-width:650px){#buff-strip{left:12px;top:132px;gap:3px}#buff-strip>span{width:29px;height:36px}#buff-strip img{width:23px;height:25px}#item-toast{bottom:140px;width:95%}#item-toast span{font-size:9px;white-space:normal;text-align:center;padding:6px 9px}#items-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#items-grid article{padding:6px;gap:5px}#items-grid img{width:28px}#items-grid strong{font-size:11px}#items-grid small{font-size:9px}}
@media(max-width:650px){#buff-strip{top:190px}}
/* One handwritten visual vocabulary across menu, cards and live HUD. */
button,input,output,h1,h2,h3,strong,b,kbd,.timer-box,.level-stamp,.wave-info,.choice{font-family:PaperHand,serif}
.coin-count{display:flex;align-items:center;gap:3px;font-size:20px;color:#80613c}.coin-count img{width:29px;height:32px;object-fit:contain}
#weather-status{position:absolute;left:50%;top:89px;transform:translateX(-50%);font-size:11px;color:#736d80;pointer-events:none;white-space:nowrap;opacity:.8}
#trade-button{position:absolute;bottom:120px;left:50%;transform:translateX(-50%);background:#f3e3bb;border:2px solid #a88a8e;border-radius:6px;padding:10px 20px;z-index:7}
.shop-paper{width:min(760px,94vw)}#shop-offers{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.shop-offer{display:flex;flex-direction:column;align-items:center;padding:14px 8px;background:#f4e8ce;border:1px solid #bba3a2;border-radius:7px;color:#66556a}.shop-offer img{width:64px;height:64px;object-fit:contain}.shop-offer p{font-size:13px;min-height:48px}.shop-offer:disabled{opacity:.5}.shop-offer b{color:#967044}#atmosphere-settings{font-size:13px;text-align:left;margin:14px 0}.settings input[type=checkbox]{width:18px}
@media(max-width:700px){#weather-status{top:76px;font-size:9px}#shop-offers{grid-template-columns:repeat(2,1fr)}.coin-count{font-size:15px}.coin-count img{width:20px}}

/* In-world information is carried by icons, silhouettes and progress, with text in menus. */
.wave-info,.player-info>strong,.weapon-slot .name{display:none!important}
#explore-label,#event-compass,#fusion-hint{display:inline-flex;align-items:center;gap:6px}
#exploration img{width:25px;height:25px;object-fit:contain}
#event-compass img{width:30px;height:30px}
#weather-status{font-size:22px;background:none;border:0}
#trade-button{display:flex;align-items:center;gap:10px}
#trade-button.hidden{display:none}
#banner{font-size:38px;pointer-events:none}
#tip{font-size:13px;letter-spacing:2px}
#paper-grain{opacity:.09}

#enemy-journal h3{display:flex;align-items:center;gap:8px}#enemy-journal h3 img{width:38px;height:38px;object-fit:contain}#enemy-journal h3 small{font-size:12px;margin-left:auto}.enemy-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.enemy-roster article{display:flex;align-items:center;gap:10px;padding:8px;background:#fff6e680;border:1px solid #c4b6ab}.enemy-roster img{width:48px;height:54px;object-fit:contain}.enemy-roster small{display:block;font-size:11px;line-height:1.6}

#item-toast img{width:38px;height:38px;object-fit:contain}

#banner{display:flex;align-items:center;gap:8px}#banner img{width:50px;height:58px;object-fit:contain}#banner span:empty{display:none}#boss-hud strong{display:flex;justify-content:center;align-items:center;gap:8px;height:28px}#boss-hud strong img{width:40px;height:44px;object-fit:contain}#boss-hud strong span{color:#ad546b;font-size:16px}

@media(pointer:coarse){#tip{display:none}}

body.playing #joystick.active{display:block;position:absolute;bottom:auto;transform:translate(-50%,-50%);pointer-events:none;border:2px solid #6d557f88;background:#fff3dd66;border-radius:50%;width:90px;height:90px;z-index:8}#joystick i{display:block;width:36px;height:36px;border:2px solid #80668d88;background:#d7c5deaa;border-radius:50%;position:absolute;left:25px;top:25px}
