
/* ---------- woodcut art ---------- */
.card .card-art.has-img {
  padding: 0; overflow: hidden; background: var(--paper); border: 1.5px solid var(--ink) !important; border-radius: 2px !important; box-shadow: none !important;
  height: auto !important; aspect-ratio: 2 / 1; flex: 0 0 auto;
}
.card .card-art.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-row .card .card-art.has-img { height: auto !important; aspect-ratio: 2 / 1; flex: 0 0 auto; }
.card-info .card.big .card-art.has-img { height: auto !important; aspect-ratio: 2 / 1; flex: 0 0 auto; }
@media (max-width: 860px) { .card .card-art.has-img { height: 44px; } }
img.gi { width: 1.35em; height: 1.35em; vertical-align: -0.32em; display: inline-block; filter: drop-shadow(0 1px 1px var(--shade-50)); }
.gear-slot img.gi { width: 100%; height: 100%; vertical-align: 0; }
.big-icon img.gi, .art img.gi { width: 1em; height: 1em; }
.map-node.has-seal {
  padding: 0; overflow: visible; background: transparent !important; border: 0 !important;
}
.map-node.has-seal img {
  width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 1px var(--ink-35)) !important;
}
.map-node.has-seal.available { border-radius: 50%; animation: hsNodePulse 1.4s ease-in-out infinite !important; }
.map-node.has-seal.visited { opacity: .6 !important; filter: saturate(.4) !important; }
.map-node.has-seal.current { border-radius: 50%; box-shadow: 0 0 0 4px rgba(163, 38, 31, .7) !important; }
@keyframes sealPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(163,38,31,.6); } 50% { box-shadow: 0 0 0 10px rgba(163,38,31,0); } }
.map-scroll.woodcut {
  background-color: var(--ivory) !important; border: 2px solid var(--royal) !important; border-radius: 0 !important;
  box-shadow: inset 0 0 0 5px var(--ivory), inset 0 0 0 6px var(--royal), inset 0 0 40px rgba(150, 128, 86, .25) !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='560' viewBox='0 0 520 560'%3E%3Cg fill='none' stroke='%23d6caa9' stroke-width='1.3'%3E%3Cpath d='M0 90 C90 60 180 130 270 95 S440 55 520 92'/%3E%3Cpath d='M0 200 C100 170 190 240 280 205 S450 165 520 202'/%3E%3Cpath d='M0 310 C110 280 200 350 290 315 S460 275 520 312'/%3E%3Cpath d='M0 420 C120 390 210 460 300 425 S470 385 520 422'/%3E%3Cpath d='M0 520 C130 490 220 560 310 525 S480 485 520 522'/%3E%3C/g%3E%3Cg stroke='%23e0d6bc' stroke-width='1'%3E%3Cpath d='M0 0 H520 M0 140 H520 M0 280 H520 M0 420 H520 M130 0 V560 M260 0 V560 M390 0 V560'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 520px 560px !important; background-repeat: repeat !important;
}
.map-scroll.woodcut .map line { stroke: #3d4872; stroke-width: 2.2; stroke-dasharray: 2 6; }
.map-scroll.woodcut .map line.open { stroke: var(--ink); stroke-width: 2.6; }
.map-scroll.woodcut .map line.traveled { stroke: var(--claw); stroke-dasharray: none; stroke-width: 3.4; }
.legend img.gi { width: 1.6em !important; height: 1.6em !important; }
/* monster rigs */
#enemyPanel.elite .sprite .rig-canvas { filter: drop-shadow(0 0 10px rgba(223,199,139,0.45)) drop-shadow(0 6px 10px var(--shade-55)); }
#enemyPanel.boss .sprite .rig-canvas { filter: drop-shadow(0 0 14px rgba(255,90,78,0.5)) drop-shadow(0 6px 10px var(--shade-55)); }
#enemyPanel.final .sprite .rig-canvas { filter: drop-shadow(0 0 22px rgba(255,80,40,0.45)) drop-shadow(0 8px 14px var(--shade-60)); }
#enemyPanel .sprite.rigged, #enemyPanel.dead .sprite.rigged { animation: none !important; }
/* woodcut UI icons */
img.ico { width: 1.3em; height: 1.3em; vertical-align: -0.3em; margin-right: 1px; display: inline-block; }
.class-builds { gap: 10px 16px !important; }
/* achievement pop-ups: hover to keep them up */
.toast.show.big { pointer-events: auto; cursor: default; }
.toast .ach-title { display: block; font-family: var(--font-display); font-size: 16px; color: var(--royal); }
.toast .ach-how {
  display: block; font-weight: 500; font-size: 13px; margin-top: 3px; color: var(--ink);
}
.toast .ach-reward {
  display: block; font-weight: 500; font-size: 12px; margin-top: 3px; color: var(--ink-muted);
}
.toast .ach-hint {
  display: block; font-size: 10.5px; font-weight: 500; margin-top: 6px; opacity: .8; color: var(--ink-muted);
}
.toast img.ico { width: 1.25em; height: 1.25em; }
/* full-screen title scene */
.overlay.title-mode {
  padding: 0 !important; backdrop-filter: none; overflow: hidden; background: var(--royal-night) !important;
}
.modal.title-modal { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--ink); animation: none; overflow: hidden; }
.stage .sprite .pp-canvas { filter: drop-shadow(0 5px 0 rgba(30,27,22,.18)); }
.sprite.hurt .pp-canvas { filter: none; }
.sprite.guard .pp-canvas { filter: drop-shadow(0 0 10px rgba(110,170,240,0.9)); }
.stage .role { color: var(--ink); text-shadow: 0 1px 0 rgba(227,213,179,.6); font-weight: 700; }
