/* Existing pixel scenes and illustrated frames carry the post-ending journey. */
.aftermath-screen{z-index:38;background:linear-gradient(#06111b96,#06111bd9),var(--aftermath-scene) center/cover;backdrop-filter:none;image-rendering:pixelated}
.aftermath-panel{width:min(920px,92vw);background:#0b1b29f2;box-sizing:border-box}
.aftermath-briefing h3,.aftermath-preparations h3,.aftermath-delivery h3,.aftermath-talent h3,.aftermath-result h3{font-size:22px;line-height:1.6;font-weight:400;color:#ead29e;margin:16px 0 10px}
.aftermath-briefing p,.aftermath-route-copy,.aftermath-delivery p,.aftermath-talent p,.aftermath-result p{font-size:15px;line-height:1.9;color:#bfcecc;margin:12px 0}
.aftermath-briefing dl{margin:20px 0 0;display:grid;gap:12px}
.aftermath-briefing dl>div{display:grid;grid-template-columns:100px 1fr;gap:12px}
.aftermath-briefing dt{color:#d9bb80;font-size:13px;line-height:1.9}
.aftermath-briefing dd{margin:0;font-size:14px;line-height:1.9;color:#b9cbc9}
.aftermath-blocked,.aftermath-notice{color:#ebd29c;font-size:14px;line-height:1.8}
.aftermath-notice:empty{display:none}
.aftermath-preparations>button{display:block;width:100%;text-align:left;padding:16px 20px;border:1px solid #a18a5966;border-left:3px solid #a18a5966;background:#0a1726;margin-top:12px;min-height:76px}
.aftermath-preparations>button[aria-pressed=true]{border-color:#debd76;background:#2935318a}
.aftermath-preparations strong{font-size:18px;line-height:1.7;color:#ead29e;font-weight:400;display:block}
.aftermath-preparations span{display:block;font-size:14px;line-height:1.8;color:#b9cbc9;margin-top:5px}
.aftermath-talent,.aftermath-delivery{border-top:1px solid #a18a5944;margin-top:20px;padding-top:4px}
.aftermath-talent button{min-height:44px;font-size:15px;padding:8px 12px;border:1px solid #a18a5966;color:#e4ca94}
.aftermath-talent small{display:block;color:#9bb1b7;font-size:12px;line-height:1.8;margin-top:10px}
.aftermath-screen button:disabled{opacity:.5;cursor:default}
.aftermath-result{padding:20px 0;text-align:center}.aftermath-result strong{display:block;color:#ead29e;font-size:18px;line-height:1.9;margin:20px 0}
#aftermath-hud{position:absolute;left:50%;top:94px;transform:translateX(-50%);width:min(620px,68%);z-index:5;text-align:center;pointer-events:none;color:#dfd0aa;text-shadow:1px 2px #06101b;background:#06111bb8;padding:9px 14px;box-sizing:border-box;border-bottom:1px solid #b5a17d55}
#aftermath-hud strong{display:block;font-size:13px;font-weight:400;line-height:1.7;color:#eddbb4}
#aftermath-progress{display:block;font-size:14px;line-height:1.8;color:#c5ded4}
#aftermath-rule{display:block;font-size:11px;line-height:1.8;color:#b5c8ce}
#aftermath-potion-belt{position:absolute;right:25px;bottom:75px;z-index:9;display:flex;gap:8px;align-items:end}
#aftermath-potion-belt>small{position:absolute;left:0;bottom:100%;white-space:nowrap;font-size:9px;line-height:1.8;color:#b2c6c8}
#aftermath-potion-belt>button{width:54px;padding:0;position:relative}
#aftermath-potion-belt img{height:48px;width:38px;object-fit:contain;image-rendering:pixelated}
#aftermath-potion-belt span{display:block;font-size:9px;color:#bccbc5;white-space:nowrap}
#aftermath-potion-belt b{position:absolute;right:0;top:28px;font-size:10px;color:#f5dc9e;text-shadow:2px 2px #06101b}
#aftermath-potion-belt button:disabled{opacity:.35}
#stage[data-panel] #aftermath-hud,#stage[data-panel] #aftermath-potion-belt{visibility:hidden}
@media(max-width:760px){#aftermath-hud{top:155px;width:84%;padding:6px 10px}#aftermath-hud strong{font-size:11px}#aftermath-progress{font-size:12px}#aftermath-rule{font-size:10px}#aftermath-potion-belt{bottom:160px;right:15px}.aftermath-briefing dl>div{grid-template-columns:74px 1fr;gap:8px}}
@media(max-height:580px) and (min-aspect-ratio:1/1){#aftermath-hud{top:70px;padding:4px 10px;width:54%}#aftermath-hud strong{font-size:10px}#aftermath-progress{font-size:11px}#aftermath-rule{font-size:9px}#aftermath-potion-belt{bottom:60px}.aftermath-briefing h3,.aftermath-preparations h3{font-size:18px}.aftermath-briefing p{font-size:13px}.aftermath-briefing dl{gap:6px;margin-top:12px}}

/* Growth changes the real bottle, so its battle label shows current potency. */
#rogue-hud .rogue-potion-capacity{position:absolute;top:100%;left:50%;transform:translateX(-50%);font-size:9px;line-height:1.8;color:#d8d9b7;white-space:nowrap;text-shadow:1px 2px #06101b}
