:root{--ink:#15191f;--paper:#f0e2c6;--brass:#e9ba62;--mint:#98d9c8;--rule:#645b54}.exp-ui{pointer-events:none;color:var(--paper);font:600 14px/1.45 Consolas,Microsoft YaHei,monospace;position:fixed;inset:0}.exp-ui button,.px-skills button{pointer-events:auto;font:inherit;color:inherit;cursor:pointer}.exp-ui button{background:#24272b;border:1px solid #857763;padding:6px 12px;box-shadow:inset 0 -2px #151719}.exp-ui button:hover,.exp-ui button:focus-visible{border-color:var(--brass);background:#393a36}.exp-ui button:disabled{opacity:.45;cursor:default}.exp-location{text-shadow:2px 2px #13141b;align-items:center;gap:9px;display:flex;position:absolute;top:14px;left:16px}.exp-location strong,.exp-location small,.jr-sheet small{display:block}.exp-location strong{font-size:21px;line-height:1.15}.exp-location small,.jr-sheet header small,.jr-intro small{color:var(--brass);font-size:10px}.exp-sigil{background:var(--brass);clip-path:polygon(35% 0,65% 0,65% 14%,82% 14%,82% 28%,95% 28%,95% 75%,65% 100%,35% 100%,5% 75%,5% 28%,18% 28%,18% 14%,35% 14%,35% 38%,27% 38%,27% 67%,50% 82%,73% 67%,73% 38%,35% 38%);width:27px;height:36px}.exp-chart{justify-items:center;gap:3px;display:grid;position:absolute;top:14px;right:14px}.exp-chart canvas{width:111px;height:75px;image-rendering:pixelated}.exp-chart span{color:var(--brass);font-size:11px}.exp-tools{gap:4px;display:flex;position:absolute;top:120px;right:14px}.exp-tools button{padding:5px 8px;font-size:12px}.exp-context{position:absolute;bottom:100px;left:50%;transform:translate(-50%)}.exp-context button{color:#d5fff2;border-color:var(--mint);background:#293938}.exp-toast{text-align:center;max-width:min(420px,50%);color:var(--paper);border-bottom:2px solid var(--brass);opacity:0;background:#171b20f2;padding:7px 12px;position:absolute;top:13px;left:50%;transform:translate(-50%)}.exp-toast.on{opacity:1}.exp-log{pointer-events:auto;background:#0b0d12aa;place-items:center;display:grid;position:absolute;inset:0}.exp-log[hidden],.exp-context button[hidden]{display:none}.jr-sheet{background:var(--ink);border:2px solid #bb9c70;flex-direction:column;width:min(540px,100% - 24px);max-height:calc(100% - 30px);display:flex;box-shadow:5px 5px #08080b}.jr-sheet header,.jr-sheet footer{justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.jr-sheet header{background:repeating-linear-gradient(135deg,#25272a 0 4px,#27292d 4px 8px)}.jr-sheet header button{padding:4px 7px;font-size:21px;line-height:1}.jr-sheet h2,.jr-sheet h3,.jr-sheet p{margin:0}.jr-sheet h2{font-size:24px}.jr-sheet nav{border-block:1px solid var(--rule);flex-wrap:wrap;display:flex}.jr-sheet nav button{color:#b6b5ad;box-shadow:none;border:0;flex:1;padding:7px 4px}.jr-sheet nav button[aria-pressed=true]{color:var(--brass);box-shadow:inset 0 -2px var(--brass)}.jr-sheet article{min-height:125px;padding:12px 18px 18px;overflow:auto}.jr-sheet article>h3{color:var(--mint);margin:9px 0 3px;font-size:15px}.jr-sheet p{color:#b7c1bd;padding:5px 0 10px;font-size:13px}.jr-sheet article>button{margin:7px 6px 0 0}.jr-row{border-bottom:1px solid #393d40;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;display:flex}.jr-row b i{background:var(--ink);width:10px;height:10px;margin-right:6px;display:inline-block}.jr-row small{color:#aeb8b3;font-size:12px}.jr-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.jr-actions button{padding:4px 7px;font-size:12px}.jr-sheet footer{border-top:1px solid var(--rule);color:var(--brass);font-size:12px}.jr-intro{padding:6px 0}.jr-intro h3{font-size:20px}.jr-map{object-fit:contain;width:100%;max-height:45vh;image-rendering:pixelated;display:block}.jr-key{text-align:center}.exp-pad{display:none}body #hud .px-bars{background:#171a20eb;border:1px solid #897961;outline:0;width:188px;top:58px;left:16px;box-shadow:2px 2px #111}#hud .px-stats,#hud .px-title,#hud .px-help.closed{display:none}#hud .px-help{top:165px;right:14px}#hud .px-skill{pointer-events:auto;cursor:pointer;width:62px;height:62px}#hud .px-skill .px-icon{width:19px;height:19px;margin-left:-9px;top:17px;transform:rotate(45deg)}#hud .px-skill:first-child .px-icon{width:6px;height:24px;margin-left:-3px}#hud .px-skill{color:var(--paper);font-family:inherit;font-weight:700}#hud .px-skill[data-skill=fireball] .px-icon{clip-path:polygon(55% 0,68% 32%,86% 20%,100% 68%,75% 100%,22% 95%,0 64%,19% 34%,27% 49%);transform:none}#hud .px-skill[data-skill=gale] .px-icon{clip-path:polygon(0 26%,75% 0,100% 15%,94% 46%,31% 68%,74% 69%,49% 100%,0 96%,28% 75%,8% 67%,65% 37%);transform:none}#hud .px-skill[data-skill=thunder] .px-icon{clip-path:polygon(50% 0,95% 0,66% 40%,87% 40%,12% 100%,40% 55%,16% 55%);transform:none}#hud .px-bar{height:9px}#hud .px-chips{min-height:0}#hud .px-chip{font-size:10px}@media (pointer:coarse),(width<=650px){.exp-pad{touch-action:none;grid-template-rows:repeat(2,34px);grid-template-columns:repeat(3,34px);gap:2px;display:grid;position:absolute;bottom:12px;left:12px}.exp-pad button{touch-action:none;background:#20242ace;padding:0}.exp-pad button:first-child{grid-column:2}.exp-pad button:nth-child(2){grid-column:1}.reading .exp-pad{display:none}#hud .px-skills{gap:5px;bottom:14px;left:auto;right:12px;transform:none}#hud .px-skill{border-width:2px;width:44px;height:49px}#hud .px-skill .px-icon{width:13px;height:13px;top:16px}#hud .px-skill .px-name{font-size:10px}.exp-location{top:9px;left:10px}.exp-location strong{font-size:17px}.exp-location small{font-size:9px}body #hud .px-bars{width:145px;padding:3px 5px;top:49px;left:10px}#hud .px-num{width:45px;font-size:10px}#hud .px-lbl{width:18px;font-size:10px}.exp-chart{top:8px;right:8px;padding:3px!important}.exp-chart canvas{width:80px;height:54px}.exp-tools{top:87px;right:8px}.exp-tools button{padding:3px 6px;font-size:11px}.exp-toast{max-width:80%;top:130px}.exp-context{bottom:90px}.jr-sheet header,.jr-sheet footer,.jr-sheet article{padding:9px 12px}.jr-sheet nav button{font-size:12px}}
