.app{flex-direction:column;max-width:1024px;height:100dvh;margin:0 auto;padding:.5rem;display:flex;overflow:hidden}@keyframes dmgFloat{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-16px)}}.dmg-float{paint-order:stroke;stroke:#000;stroke-width:2px;pointer-events:none;font-weight:800;animation:.9s ease-out forwards dmgFloat}@keyframes hurtFlash{0%{opacity:.9}to{opacity:0}}.hurt-flash{pointer-events:none;animation:.45s ease-out forwards hurtFlash;position:absolute;inset:0;box-shadow:inset 0 0 44px 10px #ff282899}@keyframes walkTargetPulse{0%,to{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}}.walk-target{transform-box:fill-box;transform-origin:50%;pointer-events:none;animation:.6s ease-in-out infinite walkTargetPulse}@keyframes chestReveal{0%{opacity:0;transform:translateY(5px)scale(.6)}35%{opacity:1;transform:translateY(-3px)scale(1.12)}to{opacity:0;transform:translateY(-8px)scale(1)}}.chest-reveal{transform-box:view-box;pointer-events:none;animation:.5s ease-out forwards chestReveal}.chest-reveal-label{fill:#fff0a2;paint-order:stroke;stroke:#261b0e;stroke-width:2px;font-weight:800}@keyframes hpCriticalPulse{0%,to{opacity:1}50%{opacity:.55}}.hp-critical{animation:.8s ease-in-out infinite hpCriticalPulse}h1{letter-spacing:-.02em;margin:0;font-size:2.5rem}button{font:inherit;color:#14131a;cursor:pointer;background:#b9a7ff;border:0;border-radius:.5rem;padding:.4rem .9rem}button:hover{background:#cabcff}button:disabled{opacity:.45;cursor:default}@keyframes chimneySmoke{0%{opacity:0;transform:translate(0)}25%{opacity:.5}to{opacity:0;transform:translate(1.5px,-7px)}}.chimney-smoke{transform-box:fill-box;transform-origin:50%;pointer-events:none;animation:4.2s linear infinite chimneySmoke}@keyframes arrivalRing{0%,to{opacity:.3;transform:scale(.9)}50%{opacity:.95;transform:scale(1.08)}}.arrival-ring{transform-box:fill-box;transform-origin:50%;pointer-events:none;animation:1.15s ease-in-out infinite arrivalRing}@keyframes levelUpFloat{0%{opacity:0;transform:translateY(6px)}15%{opacity:1;transform:translateY(0)}70%{opacity:1}to{opacity:0;transform:translateY(-14px)}}.level-up-float{letter-spacing:1px;paint-order:stroke;stroke:#000;stroke-width:3px;pointer-events:none;font-weight:900;animation:1.4s ease-out forwards levelUpFloat}@keyframes levelGained{0%{color:#ffd35a;text-shadow:0 0 8px #ffd35a}to{color:inherit;text-shadow:none}}.level-gained{animation:1.2s ease-out levelGained}.level-button,.level-button:hover{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 6px}@keyframes pointWaiting{0%,to{box-shadow:0 0 2px 1px #ffd35a59}50%{box-shadow:0 0 10px 3px #ffd35ae6}}.point-waiting{color:#ffd35a;border-color:#e7b56d;animation:2s ease-in-out infinite pointWaiting}.point-chip{color:#10131a;background:#e7b56d;border-radius:6px;margin-left:4px;padding:0 4px;font-size:11px;font-weight:800}.skill-tree{z-index:2;color:#d8dbe2;background:#10131af7;border:2px solid #e7b56d;border-radius:8px;flex-direction:column;font-size:12px;display:flex;position:absolute;inset:0}.skill-tree-head{align-items:center;gap:8px;padding:4px 8px;display:flex}.skill-tree-title{color:#e7b56d;font-size:15px;font-weight:700}.skill-points{color:#ffd35a;flex:1}.skill-branches{flex:1;gap:6px;min-height:0;padding:0 8px;display:flex;overflow-y:auto}.skill-branch{flex-direction:column;flex:1 1 0;align-items:stretch;min-width:0;display:flex}.skill-branch-name{text-align:center;color:#8f929b;text-transform:uppercase;letter-spacing:1px;margin-bottom:4px;font-size:11px}.skill-node-slot{flex-direction:column;align-items:center;display:flex}.skill-link{background:#3a3f4b;width:2px;height:12px}.skill-link[data-lit]{background:#e7b56d}.skill-node{width:100%;min-height:44px;font:inherit;cursor:pointer;color:#6b6f7a;background:#1c1b24;border:1px dashed #3a3f4b;border-radius:6px;font-size:13px;font-weight:700}.skill-node[data-state=reached]{color:#d8dbe2;border:1px solid #3a3f4b}.skill-node[data-state=buyable]{color:#ffd35a;border:1px solid #e7b56d}.skill-node[data-state=taken]{color:#10131a;background:#e7b56d;border:1px solid #e7b56d}.skill-node:hover{background:#262532}.skill-node[data-state=taken]:hover{background:#e7b56d}.skill-node-rule{color:#8f929b;margin-top:2px;font-size:10px;font-weight:400;line-height:1.25;display:block}.skill-node[data-state=taken] .skill-node-rule{color:#3a2c12}.skill-node[aria-pressed=true]{outline-offset:1px;outline:2px solid #fff}.skill-detail{border-top:1px solid #3a3f4b;align-items:center;gap:8px;min-height:52px;padding:4px 8px;display:flex}.skill-detail-text{flex:1;line-height:1.3}.skill-detail-name{color:#e7b56d;font-weight:700}.skill-detail-why{color:#8f929b}@media (orientation:landscape) and (height<=600px){.skill-tree{grid-template-rows:auto 1fr;grid-template-columns:1fr 38%;display:grid}.skill-tree-head{grid-column:1/-1;padding:2px 8px}.skill-branch-name{margin-bottom:2px}.skill-node{min-height:30px}.skill-node-rule{display:none}.skill-link{height:6px}.skill-detail{border-top:none;border-left:1px solid #3a3f4b;flex-direction:column;justify-content:center;align-items:stretch}}.skill-tree-close,.skill-tree-close:hover,.skill-take,.skill-take:hover{font:inherit;color:#10131a;cursor:pointer;background:#e7b56d;border:none;border-radius:4px;padding:2px 8px}.skill-take{min-height:44px;font-weight:700}@media (prefers-reduced-motion:reduce){.walk-target,.arrival-ring,.hp-critical,.chimney-smoke,.point-waiting{animation-duration:.01ms;animation-iteration-count:1}.level-up-float{animation-name:levelUpFade}}@keyframes levelUpFade{0%,to{opacity:0}15%,70%{opacity:1}}.gear-panel{max-width:320px;margin:8px auto;padding:8px 10px 10px}.gear-row{justify-content:center;align-items:flex-start;gap:4px;display:flex}.gear-slot{text-align:center;width:84px}.gear-slot-box{width:56px;height:56px;margin:auto}.gear-figure{margin-top:8px}.pack-square{width:44px;height:44px}.pack-square-key{display:none}@media (hover:hover) and (pointer:fine){.pack-square-key{color:#8f929b;font-size:9px;line-height:1;display:block;position:absolute;top:1px;left:3px}}.pack-grid{grid-template-columns:repeat(6,44px);justify-content:center;gap:4px;display:grid}.action-bar{flex-direction:column;gap:6px;width:100%;max-width:320px;margin:6px auto 4px;display:flex}.action-bar-top{align-items:center;gap:8px;display:flex}.grind-button{letter-spacing:1px;border-radius:6px;flex:1 1 0;min-height:48px;font-size:16px;font-weight:700}.gear-button{cursor:pointer;flex:none;width:44px;height:44px}.gear-button-badge{background:#0d0f12;border:1px solid #3a3f4b;border-radius:4px;place-items:center;width:18px;height:18px;display:grid;position:absolute}.gear-button-badge-weapon{top:-5px;left:-5px}.gear-button-badge-armor{bottom:-5px;right:-5px}.status-bar{width:100%;margin:8px auto}.item-choice{gap:6px;display:flex}.item-choice button{cursor:pointer;border-radius:6px;padding:4px 10px;font-size:11px;font-weight:700}.sheet-backdrop{z-index:5;background:#000000b8;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.sheet{background:#1c1b24;border:1px solid #3a3f4b;border-radius:8px}.sheet-actions{gap:8px;margin-top:12px;display:flex}.sheet-button{letter-spacing:1px;cursor:pointer;border-radius:6px;flex:1 1 0;min-height:44px;font-size:15px;font-weight:700}@media (width>=620px){.gear-panel{max-width:560px}.gear-row{gap:18px}}@media (height<=700px) and (width>=620px){.action-bar{flex-direction:row;justify-content:center;align-items:center;gap:10px;max-width:none;margin:4px auto}.action-bar-top{flex:none}.grind-button{flex:none;min-width:116px}.pack-grid{grid-template-columns:repeat(9,44px)}.status-bar{margin:4px auto}}@media (height<=700px){.gear-panel{margin:4px auto;padding:6px 8px 8px}.gear-slot-box{width:44px;height:44px}.gear-slot-box svg{width:32px;height:32px}.gear-figure{margin-top:12px}.gear-figure svg{width:32px;height:32px}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}body{color:#e8e6f0;background:#14131a;margin:0}
