/* The run events on the HUD (dist/expedition-view.js, docs/design/run-events-2026-11-05.md; session "emoji" 5. 11. 2026).
   The event's bar: a slim row like the raid bosses' (style.css .boss-slim), first in the column under the timer, on the client's
   CP gauge (gold) for the event's time or points; thin marks at the rite's tiers; the HP gauge (red) while the rite's points stop
   (no hero in the arena). The quest tracker's pip of an event that failed: dark red. Phones: touch.css places the column. */
#hud .event-row[hidden]{display:none}
.boss-slim.event{color:#f3dc9c}
.boss-slim.event b{color:var(--bright)}
.boss-slim.event .bar{position:relative;background-image:url(./assets/ui/gauge-cp-back.png)}
.boss-slim.event .bar i{background:url(./assets/ui/gauge-cp.png) 0 0/100% 100%;transition:width .25s linear}
.boss-slim.event .bar em{position:absolute;top:0;bottom:0;width:1px;margin-left:-.5px;background:#0009;box-shadow:1px 0 0 #fff3}
.boss-slim.event .bar em[hidden]{display:none}
.event-row.out .boss-slim.event{color:#ff9d8c}
.event-row.out .boss-slim.event .bar i{background-image:url(./assets/ui/gauge-hp.png)}
.expedition-pips i.failed{background:linear-gradient(135deg,#c4574a,#6e231c);border-color:#e9a092;opacity:.85}
/* a quest that passed without a result (no window for it before the next slot, run-events.js slotLost, or nobody reached it in
   time): its pip crossed out, so it does not look like one still to come (style.css dims it only; Daniel 9. 11. 2026) */
.expedition-pips i.missed{opacity:.9;border-color:#4a453b;background:linear-gradient(0deg,transparent 38%,#9a8f78 38% 62%,transparent 62%),linear-gradient(90deg,transparent 38%,#9a8f78 38% 62%,transparent 62%),#14120f}
/* Mammon's wares in the choice window (game.js cardHtml, kind ware): the price in the run's Adena at the foot of the card, red when
   the hero cannot pay it (core.js buy refuses then). */
#choiceModal .card .ware-price{margin-top:auto;padding-top:.3rem;font-family:var(--l2font);font-size:max(24px,calc(var(--l2) * 1.15));line-height:1.1;color:var(--yellow);text-shadow:0 1px 2px #000}
#choiceModal .card .ware-price.short{color:#e0675a}
/* The results of a run's quest slots (journey-ui.js eventRecap, under the Chronicle's recap): one line each, the event's icon, its
   name and how it ended; under it what it did (the rite's points, the sword's bearer, the mimics, Mammon's ware) and a first
   completion's bonus; a failed one red, a missed one dimmed. */
.event-results{display:grid;gap:.3rem;margin:.4rem 0 .6rem}
.event-result{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:.6rem;font:var(--l2) var(--l2font);color:var(--text)}
.event-result .icon{width:32px;height:32px}
.event-result small{font:inherit;color:#a8e884}
.event-result em{grid-column:2/-1;font:calc(var(--l2) * .8) var(--l2font);font-style:normal;color:var(--yellow)}
.event-result .event-detail{grid-column:2/-1;font:calc(var(--l2) * .8) var(--l2font);color:var(--text);opacity:.85}
.event-result.failed small{color:#e0675a}
.event-result.missed{opacity:.55}.event-result.missed small{color:var(--muted)}
