/* an event choice's fate: its curse tab, its chance and the reel that names a drawn curse or blessing (evbeats.js); split out of screens.css, linked right after it */
/* an option's curse tab (evbeats.js curseTabHTML): hung under its plate (.stPlate > .cTab, the plate's own edge, rising and dimming with it) or its row (.list), the skull, the curse and its chance over a bar red to that share. Nothing moves with focus. The tags sit beside the plate or the row */
.cTab{position:absolute;left:-1px;top:100%;width:calc(100% + 2px);box-sizing:border-box;padding:10px 22px 15px;background:linear-gradient(180deg,#26120e,#100806);border:1px solid #6a3a2a;border-top:1px dashed #6a5a34;font-family:var(--ui-head);text-align:left;cursor:pointer}
.stPlate.sel .cTab{left:0;width:100%;border:0;border-top:1px dashed #8a7648;outline:2px solid #ddd5c3;clip-path:inset(0 -3px -3px -3px);box-shadow:0 0 22px rgba(221,213,195,.25)}
.ctH{display:flex;justify-content:center;align-items:baseline;gap:9px;font-size:18px;color:#f0c4b8;margin-bottom:6px}.ctH b{font-weight:400;font-size:21px;color:#e6735c}.ctH em{font-style:normal;font-weight:700;color:#ff8a72}
.ctT{position:relative;height:14px;border:1px solid #7a4a3a;border-radius:4px;background:rgba(0,0,0,.55);overflow:hidden}.ctT i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#7a2018,#c9402f);transition:width .6s cubic-bezier(.3,1.4,.5,1)}
.ctD{margin-top:9px;font-family:var(--ui-body);font-size:16px;line-height:1.35;color:#e0d2c4;text-align:center;text-wrap:balance} /* (what the curse does, under its bar: curseTabHTML's `say`) */
/* the fate reel (evbeats.js fateReelHTML): a one-line window on a strip of sigils and names that scrolls up and lands on the drawn one, then a thud in its colour; a curse's in its tab's header, a blessing's in its chip (.tc.fate) */
.fReel{--c:#e6735c;--w:230px;display:inline-block;vertical-align:middle;width:var(--w);height:30px;position:relative;border-radius:4px}.fReel.gold{--w:190px;height:26px}
.frWin{display:block;height:100%;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent,#000 28%,#000 72%,transparent);mask-image:linear-gradient(180deg,transparent,#000 28%,#000 72%,transparent)}
.fReel.landed .frWin{-webkit-mask-image:none;mask-image:none}
.frStrip{display:block;will-change:transform}.frIt{display:flex;align-items:center;justify-content:flex-start;gap:7px;height:30px;color:var(--ic);white-space:nowrap;font-weight:700}.fReel.gold .frIt{height:26px}
.frIt svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--ic);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fReel.thud{animation:frThud .5s cubic-bezier(.2,1.6,.4,1) both;animation-delay:var(--pd)}
@keyframes frThud{0%{transform:scale(1);filter:none}35%{transform:scale(1.12);filter:drop-shadow(0 0 10px var(--c)) drop-shadow(0 0 4px var(--c))}100%{transform:scale(1);filter:drop-shadow(0 0 3px color-mix(in srgb,var(--c) 50%,transparent))}}
.fReel.landed:not(.thud){filter:drop-shadow(0 0 3px color-mix(in srgb,var(--c) 50%,transparent))}
.tc.fate{flex-direction:column;align-items:flex-start;gap:2px}.tc.fate .tcF{font-size:max(15px,.8em);opacity:.85;white-space:nowrap}
.cTab.list{position:static;width:auto;padding:12px 60px 15px;margin:0;border:0;border-bottom:1px solid #4a4a3c;box-shadow:inset 4px 0 0 #ddd5c3;background:linear-gradient(180deg,rgba(60,24,18,.75),rgba(0,0,0,.35))}.cTab.list.dim{opacity:.62;box-shadow:none}
#stage .stRow.mid:has(.cTab){margin-bottom:calc(72px - var(--short) / 45)}.stPack{margin-top:12px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.7))}.stPlate>.luckTags.side{top:auto;bottom:0;text-align:left}
#trekList.ev .hr .hoN{display:block;margin-top:6px} /* a few words beside a row's chips (an event choice's `note`) */
#trekList.ev .hr.fRow{position:relative}#trekList.ev .hr.fRow:has(>em:empty)>.ho{grid-column:2 / -1}#trekList.ev .hr.fRow:has(>em:empty)>em{display:none} /* no price on the gamble's row: its words (and pill) take the price column too */
#trekList.ev .fRow .luckTags.side{left:calc(100% + 30px);top:8px;letter-spacing:normal;text-shadow:none}
