.enemy-intent{display:block;position:relative;max-width:100%;font-size:10px;line-height:1.2;padding:3px 2px;border-top:1px solid #9b794b77;background:#211e19;color:#e6ce97;white-space:normal;overflow-wrap:anywhere}
.intent-danger{color:#ffd49a;box-shadow:inset 0 0 10px #fa752677;animation:intent-warning 1.8s ease-in-out infinite}
@keyframes intent-warning{50%{box-shadow:inset 0 0 18px #ff9b2799}}
.info-intent{border:1px solid #b29356;background:#3b281a;padding:10px;border-radius:8px}
.bestiary-book{background:linear-gradient(#211b16ed,#100f0eee),url('/assets/art/materials-022.webp');border:1px solid #8c693c}
.bestiary-book>summary{font-family:var(--font-heading,Georgia);font-size:1.4rem;color:#efce8a;cursor:pointer;min-height:44px}
.bestiary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin-top:18px}
.bestiary-entry{background:#100f0c;border:1px solid #665139;border-radius:10px;overflow:hidden}
.bestiary-entry summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:10px}
.bestiary-entry .portrait{width:80px;height:80px;flex:0 0 80px;border-radius:8px}
.bestiary-entry[open] summary{flex-direction:column}.bestiary-entry[open] .portrait{width:180px;height:180px;flex-basis:180px}
.bestiary-body{padding:0 14px 14px}.bestiary-affinities{display:grid;gap:8px}.bestiary-affinities>span{display:flex;align-items:center;gap:8px}.bestiary-affinities .element-badge{position:static;display:inline-block;width:28px;height:28px}
.pack-piece .favorite-mark{position:absolute;top:4px;left:4px;color:#ffe096;text-shadow:0 2px 4px #000;font-size:22px;z-index:3}
.chest-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.chest-filters label{font-size:12px;min-width:0}.chest-filters select{width:100%;min-width:0;font-size:13px;padding:6px}.chest-filters button{grid-column:1/-1}
.gear-deltas{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.gear-deltas span{padding:4px 6px;background:#111b;border-radius:4px;font-size:12px}.positive{color:#b9d7a2}.negative{color:#e4a193}
.story-memory{display:flex;align-items:center;gap:12px;border:1px solid #82613c;background:#211a12e8;border-radius:10px;padding:14px;margin:16px 0}.story-memory p{margin:4px 0}.story-memory .host-portrait{flex-shrink:0}
.story-chapter{display:inline-block;color:#efd597;font-size:12px;letter-spacing:.07em;margin:8px 0}.quest-choice{border:1px solid #987449;border-radius:10px;padding:10px;background:#332318}.quest-choice .game-button{width:100%;margin:4px 0}
.shop-storage{color:#d5c58d}.skill-face .rank-pips{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));width:100%;max-width:100%;gap:3px}.skill-face .rank-pips i{width:auto;min-width:0;height:5px}
@media(prefers-reduced-motion:reduce){.intent-danger{animation:none}}.reduce-motion .intent-danger{animation:none}
