/* R152 — subtle, event-driven Z / selected memory; no blur and no idle sprite cycling. */
#afterHours .ah-memory-from-chat {
  display:block; width:max-content; max-width:100%; margin-top:7px; padding:4px 8px;
  border:1px solid rgba(225,188,118,.32);border-radius:9px;
  background:rgba(9,21,27,.65);color:#e5c58d;
  font:600 10px/1.3 'IBM Plex Sans',sans-serif;cursor:pointer;
}
#afterHours .ah-memory-from-chat[disabled]{opacity:.55;cursor:default}
#afterHours .ah-memory-section{
  margin:12px 0 4px; padding:12px; border:1px solid rgba(223,185,112,.3);
  border-radius:13px;background:linear-gradient(155deg,rgba(10,31,39,.88),rgba(39,29,26,.68));
}
#afterHours .ah-memory-section .ah-small{margin:3px 0 10px;line-height:1.5}
#afterHours .ah-memory-form{display:flex;gap:7px;align-items:stretch}
#afterHours .ah-memory-form input{flex:1;min-width:0;height:40px;padding:8px 10px;font-size:12px}
#afterHours .ah-memory-form .ah-action{padding:8px 12px;min-height:40px;white-space:nowrap}
#afterHours .ah-memory-list{padding:0;margin:10px 0;list-style:none;display:grid;gap:7px}
#afterHours .ah-memory-list li{display:flex;gap:8px;align-items:start;justify-content:space-between;
 border:1px solid rgba(214,175,114,.17);padding:8px;border-radius:9px;background:rgba(8,21,29,.38)}
#afterHours .ah-memory-list li span{font:12px/1.5 'IBM Plex Sans',sans-serif;color:#eadbc3;overflow-wrap:anywhere;min-width:0}
#afterHours .ah-memory-list button,#afterHours .ah-memory-clear{border:0;background:transparent;color:#f1c68c;
 padding:3px 5px;font:600 11px/1.4 'IBM Plex Sans',sans-serif;cursor:pointer;white-space:nowrap}
#afterHours .ah-memory-clear{margin-top:3px;text-decoration:underline;text-underline-offset:3px}
#afterHours .ah-zkit.ah-z-actor,#afterHours .ah-z-portrait{filter:none!important;animation:none!important}
#afterHours .ah-zkit.ah-z-actor{transition:transform .38s ease-out!important}
#afterHours.ah-reduced .ah-zkit.ah-z-actor{transition:none!important}
@media(max-width:620px){
 #afterHours .ah-memory-section{padding:10px}
 #afterHours .ah-memory-form .ah-action{font-size:11px}
 #afterHours .ah-memory-list li{padding:7px}
}
@media(prefers-reduced-motion:reduce){#afterHours .ah-zkit.ah-z-actor{transition:none!important}}
